]> git.donarmstrong.com Git - kiibohd-kll.git/blobdiff - kll_lib/hid_dict.py
Adding None keyword (0.3b)
[kiibohd-kll.git] / kll_lib / hid_dict.py
index d92a6c0332bf187a8b9d3087ebdd5e0b70a1aeb4..e33957095de612251bd2d24a82503ebc5933c94a 100644 (file)
@@ -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