Code

lirc: refactored event handler
authorThomas Jansen <mithi@mithi.net>
Mon, 10 Nov 2008 13:13:46 +0000 (14:13 +0100)
committerMax Kellermann <max@duempel.org>
Mon, 10 Nov 2008 13:13:46 +0000 (14:13 +0100)
commit65804e73eaed005b0f8114e5c6f03fa59341a2bc
tree293df2bec18223dda8cffbc6c70c50be6ced24dc
parent237fc6e8d2a4e6d1b958fbd40322a8b99b9525d2
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
src/lirc.c
src/lirc.h
src/main.c
src/ncmpc.h