X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=kll.py;fp=kll.py;h=cc33b578a872cbf1dc92ff36a2ecb46015dc40bf;hb=25043fa0ee1beccc1d17dcabf5e5c88a672688e1;hp=37cfd5fc285c8d354491726e983c6b96d2f27cac;hpb=3e85108acdfd749d3da76ba23d2e0256527972e1;p=kiibohd-kll.git diff --git a/kll.py b/kll.py index 37cfd5f..cc33b57 100755 --- a/kll.py +++ b/kll.py @@ -401,7 +401,7 @@ def usbCodeToCapability( items ): # Only convert if an integer, otherwise USB Code doesn't need converting if isinstance( items[ variant ][ sequence ][ combo ], int ): # Use backend capability name and a single argument - items[ variant ][ sequence ][ combo ] = tuple( [ backend.usbCodeCapability(), tuple( [ items[ variant ][ sequence ][ combo ] ] ) ] ) + items[ variant ][ sequence ][ combo ] = tuple( [ backend.usbCodeCapability(), tuple( [ hid_lookup_dictionary[ items[ variant ][ sequence ][ combo ] ] ] ) ] ) return items