From 417d8a1eaa26bfa7836f9d87cfa319d3bff981f1 Mon Sep 17 00:00:00 2001 From: Jan Sperling Date: Wed, 20 Dec 2017 12:04:34 +0100 Subject: [PATCH] add new devices and update list of tested devices --- README.rst | 53 ++++++++++++++++++++++++++++---------------- evic/device.py | 60 +++++++++++++++++++++++++++++++------------------- 2 files changed, 71 insertions(+), 42 deletions(-) diff --git a/README.rst b/README.rst index 3e426d1..65aad8b 100644 --- a/README.rst +++ b/README.rst @@ -10,28 +10,43 @@ Evic is a USB programmer for devices based on the Joyetech Evic VTC Mini. Supported devices --------------------- -* eVic VTwo* -* Evic VTC Mini -* Cuboid Mini -* Cuboid -* eVic VTC Dual* -* eGrip II* -* eVic AIO* -* eVic VTwo mini* -* eVic Basic* -* iStick TC100W* -* ASTER* -* iStick Pico -* iStick Pico Mega* -* iPower* -* Presa TC75W* +* Joyetech eVic VTwo* +* Joyetech eVic VTwo mini +* Joyetech evic VTC Mini +* Joyetech eVic VTC Dual* +* Joyetech eVic AIO* +* Joyetech eVic Basic* +* Joyetech eVic Primo* +* Joyetech eVic Primo Mini* +* Joyetech eVic Primo 2.0* +* Joyetech Cuboid +* Joyetech Cuboid Mini +* Joyetech Cuboid 200* +* Joyetech eGrip II* +* Eleaf iStick QC 200W* +* Eleaf iStick TC100W* +* Eleaf iStick TC200W* +* Eleaf iStick Pico +* Eleaf iStick Pico RDTA* +* Eleaf iStick Pico Mega* +* Eleaf iStick Pico Dual* +* Eleaf iStick Power* +* Eleaf ASTER* +* Wismec Presa TC75W +* Wismec Presa TC100W* +* Wismec Reuleaux RX2/3 +* Wismec Reuleaux RX200* +* Wismec Reuleaux RX200S* +* Wismec Reuleaux RX75 +* Wismec Reuleaux RX300* +* Wismec Reuleaux RXmini* +* Wismec Predator 228 * Vaporflask Classic* * Vaporflask Lite* * Vaporflask Stout* -* Reuleaux RX200* -* CENTURION* -* Reuleaux RX2/3* -* Reuleaux RX200S* +* Beyondvape Centurion* +* Vaponaute La Petit Box* +* Vapor Shark SwitchBox RX* \*Untested diff --git a/evic/device.py b/evic/device.py index 383c234..d4bfeb7 100644 --- a/evic/device.py +++ b/evic/device.py @@ -49,29 +49,43 @@ class HIDTransfer(object): vid = 0x0416 pid = 0x5020 - devices = {'E043': DeviceInfo("eVic VTwo", None, (64, 40)), - 'E052': DeviceInfo("eVic-VTC Mini", ['W007'], (64, 40)), - 'E056': DeviceInfo("CUBOID MINI", None, (64, 40)), - 'E060': DeviceInfo("Cuboid", None, (64, 40)), - 'E079': DeviceInfo("eVic VTC Dual", None, (64, 40)), - 'E083': DeviceInfo("eGrip II", None, (64, 40)), - 'E092': DeviceInfo("eVic AIO", None, (64, 40)), - 'E115': DeviceInfo("eVic VTwo mini", None, (64, 40)), - 'E150': DeviceInfo("eVic Basic", None, (64, 40)), - 'M011': DeviceInfo("iStick TC100W", None, None), - 'M037': DeviceInfo("ASTER", None, (96, 16)), - 'M041': DeviceInfo("iStick Pico", None, (96, 16)), - 'M045': DeviceInfo("iStick Pico Mega", None, (96, 16)), - 'M046': DeviceInfo("iPower", None, (96, 16)), - 'W007': DeviceInfo("Presa TC75W", ['E052'], None), - 'W010': DeviceInfo("Classic", None, None), - 'W011': DeviceInfo("Lite", None, None), - 'W013': DeviceInfo("Stout", None, None), - 'W014': DeviceInfo("Reuleaux RX200", None, None), - 'W016': DeviceInfo("CENTURION", None, None), - 'W018': DeviceInfo("Reuleaux RX2/3", None, (64, 48)), - 'W026': DeviceInfo("Reuleaux RX75", None, (64, 48)), - 'W033': DeviceInfo("Reuleaux RX200S", None, None) + devices = {'E043': DeviceInfo("Joyetech eVic VTwo", None, (64, 40)), + 'E052': DeviceInfo("Joyetech eVic VTC Mini", ['W007'], (64, 40)), + 'E056': DeviceInfo("Joyetech Cuboid Mini", None, (64, 40)), + 'E060': DeviceInfo("Joyetech Cuboid", None, (64, 40)), + 'E079': DeviceInfo("Joyetech eVic VTC Dual", None, (64, 40)), + 'E083': DeviceInfo("Joyetech eGrip II", None, (64, 40)), + 'E092': DeviceInfo("Joyetech eVic AIO", None, (64, 40)), + 'E115': DeviceInfo("Joyetech eVic VTwo mini", None, (64, 40)), + 'E150': DeviceInfo("Joyetech eVic Basic", None, (64, 40)), + 'E166': DeviceInfo("Joyetech Cuboid 200", None, (64, 40)), + 'E182': DeviceInfo("Joyetech eVic Primo", None, (64, 40)), + 'E196': DeviceInfo("Joyetech eVic Primo Min", None, (64, 40)), + 'E203': DeviceInfo("Joyetech eVic Primo 2.0", None, (64, 40)), + 'M011': DeviceInfo("Eleaf iStick TC100W", None, (96, 16)), + 'M037': DeviceInfo("Eleaf ASTER", None, (96, 16)), + 'M038': DeviceInfo("Eleaf iStick Pico RDTA", None, (96, 16)), + 'M041': DeviceInfo("Eleaf iStick Pico", None, (96, 16)), + 'M045': DeviceInfo("Eleafi Stick Pico Mega", None, (96, 16)), + 'M046': DeviceInfo("Eleaf iStick Power", None, (96, 16)), + 'M065': DeviceInfo("Eleaf iStick Pico Dual", None, (96, 16)), + 'M972': DeviceInfo("Eleaf iStick TC200W", None, (96, 16)), + 'M973': DeviceInfo("Eleaf iStick QC 200W", None, (96, 16)), + 'W007': DeviceInfo("Wismec Presa TC75W", ['E052'], (64, 48)), + 'W010': DeviceInfo("Vaporflask Classic", None, (96, 16)), + 'W011': DeviceInfo("Vaporflask Lite", None, (96, 16)), + 'W013': DeviceInfo("Vaporflask Stout", None, (96, 16)), + 'W014': DeviceInfo("Wismec Reuleaux RX200", None, (96, 16)), + 'W016': DeviceInfo("Beyondvape Centurion", None, None), + 'W017': DeviceInfo("Wismec Presa TC100W", None, (64, 48)), + 'W018': DeviceInfo("Wismec Reuleaux RX2/3", None, (64, 48)), + 'W026': DeviceInfo("Wismec Reuleaux RX75", None, (64, 48)), + 'W033': DeviceInfo("Wismec Reuleaux RX200S", None, (64, 48)), + 'W043': DeviceInfo("Vaponaute La Petit Box", None, (64, 48)), + 'W057': DeviceInfo("Vapor Shark SwitchBox RX", None, (96, 16)), + 'W069': DeviceInfo("Wismec Reuleaux RX300", None, (64, 48)), + 'W073': DeviceInfo("Wismec Reuleaux RXmini", None, (64, 48)), + 'W078': DeviceInfo("Wismec Predator 228", None, (64, 48)), } # 0x43444948