joshgoebel / keyszer

a smart, flexible keymapper for X11 (a fork/reboot of xkeysnail )
Other
69 stars 15 forks source link

Update api.py, add `leds()` method to mock keyboard #149

Closed RedBearAK closed 1 year ago

RedBearAK commented 1 year ago

Changes

Add a more complete definition of the mock keyboard device, and give it an leds() method that returns a list, to remove errors about the mock keyboard not having an leds attribute.