 
#ifndef __dl_kbd_h
#define __dl_kbd_h
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __dl_core_h
#include "core.h"
#endif
extern BOOL Kbd_KeyDown(int keynum);
typedef enum
{
inkey_ADJUST = -12, 
inkey_MENU = -11, 
inkey_SELECT = -10, 
inkey_RALT = -9, 
inkey_LALT = -6, 
inkey_ALT = -3, 
inkey_RCTRL = -8, 
inkey_LCTRL = -5, 
inkey_CTRL = -2, 
inkey_RSHIFT = -7, 
inkey_LSHIFT = -4, 
inkey_SHIFT = -1 
} kbd_neginkey;
extern char Kbd_GET(void);
typedef struct
{
unsigned alt : 1;
unsigned ctrl : 1;
unsigned shift : 1;
unsigned left_alt : 1;
unsigned left_ctrl : 1;
unsigned left_shift : 1;
unsigned right_alt : 1;
unsigned right_ctrl : 1;
unsigned right_shift : 1;
} kbd_modifiers;
extern kbd_modifiers Kbd_GetModifiers(BOOL detailed);
#ifdef __cplusplus
}
#endif
#endif
