HatariWii/src/includes/shortcut.h
2018-05-25 20:45:09 +02:00

16 lines
582 B
C

/*
Hatari - shortcut.h
This file is distributed under the GNU General Public License, version 2
or at your option any later version. Read the file gpl.txt for details.
*/
/* If pressed short-cut key modifier or standalone short-cut key,
* retain keypress until safe to execute (start of VBL). Returns zero
* if key wasn't a shortcut */
extern int ShortCut_CheckKeys(int modkey, int symkey, bool press);
/* Invoke shortcut identified by name */
extern bool Shortcut_Invoke(const char *shortcut);
/* Act on the stored keypress (in VBL) */
extern void ShortCut_ActKey(void);