--- np2/x11/kbdmng.h 2003/11/23 12:51:16 1.2 +++ np2/x11/kbdmng.h 2005/03/12 12:36:13 1.5 @@ -10,8 +10,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -28,6 +26,8 @@ #ifndef NP2_X11_KBDMNG_H__ #define NP2_X11_KBDMNG_H__ +#include "keystat.h" + #ifdef __cplusplus extern "C" { #endif @@ -38,7 +38,13 @@ enum { KEY_TYPEMAX }; +enum { + KEYBOARD_KC_NC = 0xff +}; + BOOL kbdmng_init(void); +BYTE kbdmng_getf12key(void); +void kbdmng_resetf12(void); #ifdef __cplusplus }