James-E-A / pyPicoLCD

Python bindings for the picoLCD displays (todo: actual fuzz testing) this is more of a lazy reverse-engineering effort
1 stars 0 forks source link

FACE BUTTONS #3

Open James-E-A opened 6 years ago

James-E-A commented 6 years ago

Needs to at leave give the capability of linking into the face buttons

(There's only 5 of them, so it shouldn't be too bad…🔙🏠|⬆️🆗⬇️

James-E-A commented 6 years ago

Also: PicoLcd._read() already seems already able to catch HID events.

extra rudimentary demo:

>>> from PicoLCD import PicoLcd;p=PicoLcd()
>>> print([None, "BACK", "HOME", "UNASSIGNED1", "UNASSIGNED2", "UP", "OK", "DOWN"][(p._read(),p._read())[0][1]])