pi@raspi:~$ sudo ir-keytable -s rc1 -p all -t
[sudo] password for pi:
Protocols changed to lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp xmp imon
Testing events. Please, press CTRL-C to abort.
259792.760063: lirc protocol(nec): scancode = 0x19
259792.760091: event type EV_MSC(0x04): scancode = 0x19
259792.760091: event type EV_SYN(0x00).
259794.080062: lirc protocol(nec): scancode = 0x16
259794.080090: event type EV_MSC(0x04): scancode = 0x16
259794.080090: event type EV_SYN(0x00).
259794.140092: lirc protocol(nec): scancode = 0x16 repeat
259794.140114: event type EV_MSC(0x04): scancode = 0x16
259794.140114: event type EV_SYN(0x00).
259794.240090: lirc protocol(nec): scancode = 0x16 repeat
259794.240111: event type EV_MSC(0x04): scancode = 0x16
259794.240111: event type EV_SYN(0x00).
259797.030106: lirc protocol(nec): scancode = 0x5a
259797.030132: event type EV_MSC(0x04): scancode = 0x5a
259797.030132: event type EV_SYN(0x00).
259797.100063: lirc protocol(nec): scancode = 0x5a repeat
259797.100088: event type EV_MSC(0x04): scancode = 0x5a
259797.100088: event type EV_SYN(0x00).
^C
pi@raspi:~$
上手く、動いているけど、どうやって利用するかな。