mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-06 14:40:28 -04:00
trying to debug, additional rewrites
This commit is contained in:
parent
378b5586ab
commit
42f780a729
87 changed files with 1771 additions and 529 deletions
31
platform/sdl/input.h
Normal file
31
platform/sdl/input.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* input.h
|
||||
*
|
||||
* Created on: 26. 1. 2025
|
||||
* Author: ondra
|
||||
*/
|
||||
|
||||
#ifndef PLATFORM_SDL_INPUT_H_
|
||||
#define PLATFORM_SDL_INPUT_H_
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <devices.h>
|
||||
|
||||
|
||||
char get_control_key_state();
|
||||
char get_shift_key_state();
|
||||
uint32_t _bios_keybrd(int mode);
|
||||
void SetWheelMapping(char up, char down);
|
||||
void get_ms_event(MS_EVENT *event);
|
||||
void ShareCPU();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* PLATFORM_SDL_INPUT_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue