Alibek Omarov
f19ed1c1c2
engine: client: move joystick cvars to static allocation
1 year ago
Alibek Omarov
c96f8ba722
engine: client: in_joy: do not create cvar on shutdown
2 years ago
Alibek Omarov
3e2a215c15
engine: client: in_joy: rename -nojoy to -noenginejoy to avoid conflict with client.dll's joystick support
2 years ago
SNMetamorph
575179dbf5
engine: client: added default dead zone values for psvita platform
2 years ago
Alibek Omarov
de84df99f3
engine: fix functions returning void returning void value
2 years ago
Alibek Omarov
f2a9f805b8
engine: client: redefine some cvars as filterable
3 years ago
Alibek Omarov
36702aafe7
engine: rename FCVAR_LOCALONLY and CMD_LOCALONLY into FCVAR_PRIVILEGED and CMD_PRIVILEGED
3 years ago
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