Closed GoogleCodeExporter closed 9 years ago
Original comment by cinap_le...@felloff.net
on 26 May 2011 at 5:15
Original comment by a...@phicode.de
on 26 May 2011 at 5:21
this turns out to be a harder problem than i thought.
on my first attempt, i reimplemented the latin stuff
in kbdfs, but this doesnt do you any good, because
the new rio doesnt read /dev/cons at all, but uses
/dev/kbd for keyboard input and falls back to
/dev/cons if its not available. (drawterm)
one could allow having /dev/kbd and /dev/cons open
at the same time and have both produce data, but this
sounds just wrong and isnt want you want in most
cases.
on the other hand, rio could handle latin composing itself
and this time parse /lib/keyboard instead of having a hard
coded table linked in.
but it would be code duplication indeed... :-/
Original comment by cinap_le...@felloff.net
on 27 May 2011 at 2:14
changed the format of /dev/kbd:
k<decomposed chars down>\0 - send on keydown
K<decomposed chars down>\0 - send on keyup
c<composed char>\0 - send on key down, when key is composed and on
keyboard repeat
Original comment by cinap_le...@felloff.net
on 27 May 2011 at 8:42
Original issue reported on code.google.com by
a...@phicode.de
on 25 May 2011 at 3:34