--- hatari/src/includes/keymap.h 2019/04/01 07:09:16 1.1 +++ hatari/src/includes/keymap.h 2019/04/01 07:10:54 1.1.1.3 @@ -1,6 +1,20 @@ /* - Hatari + Hatari - keymap.h + + This file is distributed under the GNU Public License, version 2 or at + your option any later version. Read the file gpl.txt for details. */ -extern char Keymap_RemapKeyToSTScanCode(unsigned int Key); +#ifndef HATARI_KEYMAP_H +#define HATARI_KEYMAP_H + +#include + +extern void Keymap_Init(void); +extern char Keymap_RemapKeyToSTScanCode(SDL_keysym* pKeySym); extern void Keymap_LoadRemapFile(char *pszFileName); +extern void Keymap_DebounceAllKeys(void); +extern void Keymap_KeyDown(SDL_keysym *sdlkey); +extern void Keymap_KeyUp(SDL_keysym *sdlkey); + +#endif