I think when no keyboard is connected, get_any_input_device_with_leds() returns NULL.
Then ply_input_device_get_keymap(NULL) attempts to access NULL->keymap, which causes a segmentation fault. __
I think when no keyboard is connected, get_any_input_device_with_leds() returns NULL.
Then ply_input_device_get_keymap(NULL) attempts to access NULL->keymap, which causes a segmentation fault. __