diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2011-01-16 21:10:03 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2011-01-16 21:10:03 +0100 |
commit | 90f182c3d69a4451bb1ea6f79d8d7fe4895cdf89 (patch) | |
tree | 1b636dc75d7db14658be19e78bc14757b3fd9e94 /extras/keymap/keyboard-force-release.sh | |
parent | 45019c0e88d76c9568f581582cdb985bb9393354 (diff) |
keymap: More robust state machine
Some drivers, like thinkpad_acpi, do not send a scan code at all (for known
keys), and some send the key code first, then the scan code. Implement a better
state machine which acceps them in any order and wait until a SYN event. If the
driver does not send SYN events, keymap will also handle this and print out
that fact.
Thanks to Seth Forshee for pointing out how this really works!
https://launchpad.net/bugs/702407
Diffstat (limited to 'extras/keymap/keyboard-force-release.sh')
0 files changed, 0 insertions, 0 deletions