|
|
1.1 root 1: /*
2: Hatari - keymap.h
3:
4: This file is distributed under the GNU Public License, version 2 or at
5: your option any later version. Read the file gpl.txt for details.
6: */
7:
8: #ifndef HATARI_KEYMAP_H
9: #define HATARI_KEYMAP_H
10:
11: #include <SDL_keyboard.h>
1.1.1.2 ! root 12: #include "SDL.h"
1.1 root 13:
14: extern void Keymap_Init(void);
15: extern char Keymap_RemapKeyToSTScanCode(SDL_keysym* pKeySym);
16: extern void Keymap_LoadRemapFile(char *pszFileName);
17: extern void Keymap_DebounceAllKeys(void);
18: extern void Keymap_KeyDown(SDL_keysym *sdlkey);
19: extern void Keymap_KeyUp(SDL_keysym *sdlkey);
20: extern void Keymap_SimulateCharacter(char asckey, bool press);
1.1.1.2 ! root 21: void Keyboard_Read0(void);
! 22: void Keyboard_Read1(void);
! 23: void Keyboard_Read2(void);
! 24: void Keycode_Read(void);
! 25: void KeyTranslator(SDL_keysym *sdlkey);
! 26: void KeyRelease(SDL_keysym *sdlkey);
1.1 root 27:
28: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.