Quote:
Originally Posted by pgf
thanks. hadn't seen that log info yet.
fyi -- if you do "hexdump -C /dev/input/event0" while pressing keys, they keycode that you pass to "send DDD >/proc/keypad) appears in hex as byte 10 (counting from 0). NextPage is the 7c value in the following, where the first line is the press, and the second is the release:
(earlier bytes in the lines are timestamp and type information -- see linux/input.h)
in any case, i realized i don't need to inject those keytrokes, because one can grab a raw copy of the screen directly from /proc/eink_fb/virtual_fb.
|
You can also do "waitforkey". I do that in a "while" loop to get a bunch of keys. Simpler output.