Closed idupree closed 8 years ago
Note that the generated codes.go from new Linux (not committed here) has a lot of whitespace changes, but checking git diff -w
it is just adding a few codes. It is fine that codes.go still #includes linux/input.h, because linux/input.h #includes input-event-codes.h. We only need to change get_keycodes.sh because it doesn't know how to follow C-preprocessor #includes.
merged as part of https://github.com/galaktor/gostwriter/pull/7
In linux >= 4.4, the KEY_* definitions are no longer in input.h but in input-event-codes.h.