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:
parent
19985730a3
commit
b81c210530
5 changed files with 19 additions and 13 deletions
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue