X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=kll_lib%2Fhid_dict.py;fp=kll_lib%2Fhid_dict.py;h=e33957095de612251bd2d24a82503ebc5933c94a;hb=d05f7ae8204841268e44d4c199416c3c0da4dd33;hp=d92a6c0332bf187a8b9d3087ebdd5e0b70a1aeb4;hpb=d91c0fb23ffed0382bcd7e42874127f396627aee;p=kiibohd-kll.git diff --git a/kll_lib/hid_dict.py b/kll_lib/hid_dict.py index d92a6c0..e339570 100644 --- a/kll_lib/hid_dict.py +++ b/kll_lib/hid_dict.py @@ -20,6 +20,9 @@ # Rather than generating tables of hex USB codes for the keymapping tables, readable defines are used (which correspond to usb_hid.h) hid_lookup_dictionary = dict([ + # Fall-through block + ( ('NONE', 0), '' ), # Special case, there are no arguments + # USB HID Keyboard Codes ( ('USB', 0x00), 'KEY_NOEVENT' ), # Event, not a physical key ( ('USB', 0x01), 'KEY_ERRORROLLOVER' ), # Event, not a physical key