Comment 1 for bug 114953

Revision history for this message
dynamotwain (dynamotwain) wrote :

This patch makes acpi_fakekey only consider evdev devices with keys commonly found on all keyboards by requiring the evdev keycode to be less than KEY_MACRO.
KEY_MACRO through BTN_MISC are just F13 - F24 and multimedia, quick launch, and power management keys. Ignoring them allows the real keyboard to be found instead
of power buttons. Also, it makes acpi_fakekey accept a 2nd argument... an overriding evdev device file to use instead of the auto-detect mechanism that might be useful in
the case of multiple keyboards and multiple X-servers running on the same machine.