SpicyKeys-like dialog when pushing unknown keys on multimedia keyboards
|Reported by:||jonas.kirilla||Owned by:||nobody|
|Has a Patch:||no||Platform:||All|
I hope to eventually be able to simply press one of those extra keys and have the OS open a dialog, asking me what action to assign to it.
I think the input_server keyboard device hardcodes the PS2-scancode to keycode translation, filtering out unknown scancodes, meaning that an input_server filter, like that of SpicyKeys, can not know that those buttons were pressed.
I think what needs to be done is to make the keyboard device load the scancode translation from disk (BeOS: AT_Keyboard_Info) and/or allow changes at runtime.
The keyboard device could directly add unsupported scancodes to its lookup table, but I think it might be better to pass them on (B_UNKNOWN_SCANCODE?) to input_server filters, so e.g. SpicyKeys can react on it (by opening a dialog) on every keypress until the user has chosen a high-level action (or explicity no action) for the key to trigger.