Gleb Mazovetskiy
4daa7c23a0
SDL2 GameController: Map axes to engine explicitly
4 years ago
Gleb Mazovetskiy
3e8e751dc7
GameController: Add separate D-Pad bindings
...
1. Adds separate D-Pad bindings so that they don't conflict with arrow
keys on the keyboard.
2. Also adds some basic defaults for gamepad buttons.
4 years ago
Gleb Mazovetskiy
9452a389a5
SDL GameController: Hotplug and multiple gamepads
...
1. Process events from all game controllers.
2. Support controller hotplug.
4 years ago
Gleb Mazovetskiy
5a36a26dd1
Fix SDL_GAMECONTROLLER handling
...
1. Do not disable SDL_JOYSTICK events. Disabling these events causes
game controller events to be disabled as well. Instead, filter these events out.
2. Fix button mapping (it was off by one).
4 years ago
FOTMarut
79a7b7b1a3
engine: platform: sdl: Fix mousewheel in SDL2
...
- See issue 143
- Tested on SDL2
- Untested on SDL1.2
5 years ago
Alibek Omarov
0c3be639c5
engine: reliably tell client.dll about vid mode changes
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
0636dc45bd
engine: sdl: fix resizing event handling
5 years ago
Alibek Omarov
1f308a43c8
engine: fix build after lowmemory rebase
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
Alibek Omarov
4d5e7c0557
platform: minify changes, use SDL_VERSION_ATLEAST macro(left unfinished)
5 years ago
Alibek Omarov
8dafbaeda2
engine: platform: sdl: dirty wip sdl1.2 port
5 years ago
mittorn
7f6395fa7d
ref: display transformation API
5 years ago
mittorn
7f3ee9ca71
input: merge touch support again. Fix m_ignore, fix EngineAppendMove
5 years ago
Alibek Omarov
fa68108907
engine: input: adapt gamepad code for new engine, remove gamepad ids, as it was never used and probably will never be, small optimizations
5 years ago
Alibek Omarov
413882a8d5
sdl: fix typos
5 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
Alibek Omarov
80fc7209ed
sound: move related function declarations to platform header. Remove unused.
6 years ago
a1batross
0964fb11e4
sdl: partially fix maximizing window on Windows
6 years ago
Alibek Omarov
1b9bfd8906
platform: sdl: fix compiling
6 years ago
Alibek Omarov
25d8a94c1c
engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c
6 years ago
Alibek Omarov
96e0167e47
platform: add GetMousePos, SetMousePos calls, fix typo
6 years ago
Alibek Omarov
7390d11505
platform_sdl: adapt SDL backend code to new platform backends system
6 years ago
Alibek Omarov
0681209114
Remove useless host.type set, replace HOST_DEDICATED checks by Host_IsDedicated
7 years ago
Alibek Omarov
becd0eba03
Possibility to use dedicated version with SDL(it's used only by internal timer)
7 years ago
Alibek Omarov
3f2a8f7704
Remove vid_mode. VID_GetModeString now returns only supported modes from SDL2
7 years ago
Alibek Omarov
a3c90248a7
Remove unneeded argument in SDLash_KeyEvent. Remove copypasted code
7 years ago
Alibek Omarov
63513ec475
Small refactoring of EnableTextInput
7 years ago
Alibek Omarov
be4b885254
Merge common SDL port changes
7 years ago