--- np2/x11/kbdmng.h 2003/11/16 16:43:45 1.1 +++ 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,12 +26,28 @@ #ifndef NP2_X11_KBDMNG_H__ #define NP2_X11_KBDMNG_H__ +#include "keystat.h" + +#ifdef __cplusplus +extern "C" { +#endif + enum { KEY_KEY106, KEY_KEY101, KEY_TYPEMAX }; +enum { + KEYBOARD_KC_NC = 0xff +}; + BOOL kbdmng_init(void); +BYTE kbdmng_getf12key(void); +void kbdmng_resetf12(void); + +#ifdef __cplusplus +} +#endif #endif /* NP2_X11_KBDMNG_H__ */