Alibek Omarov
8a9231628e
engine: restrict potentially harmful or related to user settings engine cvars
3 years ago
Gleb Mazovetskiy
c95e847890
Fix joystick trigger thresholds
...
They were negative by default but they should've been positive:
> a value ranging from -32768 to 32767. Triggers, however, range from 0 to 32767 (they never return a negative value).
https://wiki.libsdl.org/SDL_GameControllerGetAxis
This fixes LTRIGGER and RTRIGGER (L2/Zl and R2/Zr on most gamepads)
4 years ago
Gleb Mazovetskiy
4daa7c23a0
SDL2 GameController: Map axes to engine explicitly
4 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
3e4bd20919
engine: client: implement sending input devices list to server, using protinfo
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
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
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
f4567b2c9d
sound: make snd_mute_losefocus accessible outside
6 years ago
Alibek Omarov
92c321848d
Adapt input code to newer engine
7 years ago
Alibek Omarov
4189af8b50
Engine input port. Incomplete integration of touch, gamepad, evdev input
7 years ago