1
0
Fork 0

New format for mapper handlers to support keeping keys pressed.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2488
This commit is contained in:
Sjoerd van der Berg 2006-02-12 23:23:52 +00:00
parent 19985730a3
commit b81c210530
5 changed files with 19 additions and 13 deletions

View file

@ -20,7 +20,7 @@ void DEBUG_SetupConsole(void);
void DEBUG_DrawScreen(void);
bool DEBUG_Breakpoint(void);
bool DEBUG_IntBreakpoint(Bit8u intNum);
void DEBUG_Enable(void);
void DEBUG_Enable(bool pressed);
void DEBUG_CheckExecuteBreakpoint(Bit16u seg, Bit32u off);
bool DEBUG_ExitLoop(void);
void DEBUG_RefreshPage(char scroll);

View file

@ -25,11 +25,11 @@ enum MapKeys {
};
typedef void (MAPPER_Handler)(void);
typedef void (MAPPER_Handler)(bool pressed);
void MAPPER_AddHandler(MAPPER_Handler * handler,MapKeys key,Bitu mods,char * eventname,char * buttonname);
void MAPPER_Init(void);
void MAPPER_StartUp(Section * sec);
void MAPPER_Run(void);
void MAPPER_Run(bool pressed);
void MAPPER_LosingFocus(void);