Hi,
with the german keyboard also two keys (I think the very same as with the swedish version) were missing and couldn't be controlled by ckb:
key +hash
key -hash
key +bslash
key -bslash
I just tried your new code with a german K95 RGB and now all keys can be controlled. Cool! Thanks for the software!
In the beginning I had a problem with timeouts reported by the kernel (from Ubuntu 14.04) and the keyboard stopped responding. Only a usb reconnect enabled the keyboard again:
hid-generic 0003:1B1C:1B11.0022: timeout initializing reports
hid-generic 0003:1B1C:1B11.0022: hiddev0,hidraw4: USB HID v1.11 Device [Corsair Corsair K95 RGB Gaming Keyboard] on usb-0000:00:1a.0-1.5.4/input3
After some googling I found, that adding this to the grub cmdline:
usbhid.quirks=0x1B1C:0x1B11:0x20000000
resolved the timeouts, the keyboard then worked well for hours.
best regards
Hironimus