| author | Thomas Jansen <mithi@mithi.net> | |
| Mon, 10 Nov 2008 13:13:46 +0000 (14:13 +0100) | ||
| committer | Max Kellermann <max@duempel.org> | |
| Mon, 10 Nov 2008 13:13:46 +0000 (14:13 +0100) | ||
| commit | 65804e73eaed005b0f8114e5c6f03fa59341a2bc | |
| tree | 293df2bec18223dda8cffbc6c70c50be6ced24dc | tree | snapshot |
| parent | 237fc6e8d2a4e6d1b958fbd40322a8b99b9525d2 | commit | diff |
lirc: refactored event handler
* moved lirc_event to lirc.c and split out the parts that depend on
variables in main.c into three separate functions
* changed keyboard_event accordingly to avoid duplicate code
* merged lirc_event with ncmpc_lirc_get_command
* moved lirc_event to lirc.c and split out the parts that depend on
variables in main.c into three separate functions
* changed keyboard_event accordingly to avoid duplicate code
* merged lirc_event with ncmpc_lirc_get_command
| src/lirc.c | diff | blob | history | |
| src/lirc.h | diff | blob | history | |
| src/main.c | diff | blob | history | |
| src/ncmpc.h | diff | blob | history |