Files
lcdproc/server/input.h
T
2001-12-30 00:15:25 +00:00

30 lines
758 B
C

/*
* input.h
* This file is part of LCDd, the lcdproc server.
*
* This file is released under the GNU General Public License. Refer to the
* COPYING file distributed with this package.
*
* Copyright (c) 1999, William Ferrell, Scott Scriven
*
*/
#ifndef INPUT_H
#define INPUT_H
/* Accepts and uses keypad input while displaying screens... */
int handle_input ();
/* These defines should be used by drivers for version 0.4.3 of LCDproc
* as return values for _getkey().
* You should not change these values, as some drivers still return
* A, B, C; D directly without using these defines!
*/
#define INPUT_PAUSE_KEY 'A'
#define INPUT_BACK_KEY 'B'
#define INPUT_FORWARD_KEY 'C'
#define INPUT_MAIN_MENU_KEY 'D'
#endif