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

@ -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);