Skip to content

Commit b54f009

Browse files
Merge 4c81f28 into e917b7c
2 parents e917b7c + 4c81f28 commit b54f009

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

source/bdDetect.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ def initialize():
734734
"VID_1FE4&PID_008C", # Basic Braille 84
735735
"VID_1FE4&PID_0093", # Basic Braille Plus 32
736736
"VID_1FE4&PID_0094", # Basic Braille Plus 40
737+
"VID_1FE4&PID_00A4", # Activator
737738
})
738739

739740
# Some older HT displays use a HID converter and an internal serial interface
@@ -753,6 +754,7 @@ def initialize():
753754
"Braillino BL",
754755
"Braille Wave BW",
755756
"Easy Braille EBR",
757+
"Activator AC",
756758
)))
757759

758760
# hims

source/brailleDisplayDrivers/handyTech.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def windowProc(self, hwnd: int, msg: int, wParam: int, lParam: int):
103103
MODEL_MODULAR_20 = b"\x80"
104104
MODEL_MODULAR_80 = b"\x88"
105105
MODEL_MODULAR_40 = b"\x89"
106+
MODEL_ACTIVATOR = b"\xA4"
106107

107108
# Key constants
108109
KEY_B1 = 0x03
@@ -524,6 +525,20 @@ class Modular80(Modular):
524525
numCells = 80
525526

526527

528+
class Activator(TimeSyncFirmnessMixin, AtcMixin, JoystickMixin, TripleActionKeysMixin, Model):
529+
deviceId = MODEL_ACTIVATOR
530+
numCells = 40
531+
genericName = name = 'Activator'
532+
533+
def _get_keys(self) -> Dict[int, str]:
534+
keys = super().keys
535+
keys.update({
536+
0x7A: "escape",
537+
0x7B: "return",
538+
})
539+
return keys
540+
541+
527542
def _allSubclasses(cls):
528543
"""List all direct and indirect subclasses of cls
529544

0 commit comments

Comments
 (0)