Alibek Omarov
c23396f533
engine: client: keys: hardcode K_START_BUTTON as escape button, cancelselect doesn't exist anymore and many games seems to use this button for menu access, and back for pause
2 years ago
Alibek Omarov
c741ec223f
engine: client: keys: reserve some more buttons as gamepad buttons according to latest SDL2 GameController header
2 years ago
fgsfds
705f252ed8
nswitch: don't automatically pop up OSK when opening console
2 years ago
Alibek Omarov
77ea03a62c
engine: client: introduce bare-bones font manager and text drawing manager
...
* wire hud_fontscale so HUD font scaling can be used independently from
hud_scale
* allow small optimizatinons, like optional UTF-8 decoding, or not calling
SetRenderMode for each character
* even less copypasted code in text drawing between client code and console
* get rid of direct DrawCharacter calls when it can be just DrawString
* fix net_speeds, r_speeds with scaled console fonts
* try to fix MobilityAPI's pfnDrawCharacterScaled
* center keyboard keys in OSK code
2 years ago
Alibek Omarov
2d2523df4a
engine: client: touch: generalise touch emulation code
...
* fix doubleclicks and wheels in VGUI
2 years ago
Alibek Omarov
52d1383f14
engine: client: fix various useless checks, unused variables & defines, double assignments and mistypings
2 years ago
SNMetamorph
b175d6d95f
engine: client: fixed forced text input turn off in Key_EnableTextInput
3 years ago
Alibek Omarov
2356bc9905
engine: client: escape keybindings and rcon commands
3 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
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Nord1cWarr1or
8d793521c4
engine: keys: fix misleading comment
...
Update keys.c (#514 )
3 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
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
4 years ago
mittorn
26a1ba543f
client: add some useful keys to Key_ToUpper
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
mittorn
5e31e3fad0
keys: rotation support
5 years ago
mittorn
57d48b64eb
keys: add OSK
5 years ago
mittorn
7f3ee9ca71
input: merge touch support again. Fix m_ignore, fix EngineAppendMove
5 years ago
Alibek Omarov
3bf5f19446
keys: fix default binding of ESC button after unbindall command
5 years ago
Alibek Omarov
7d10660b87
engine: keys: give gamepad keys names
5 years ago
Alibek Omarov
8770bdc694
keys: allow autorepeat for menu and console for any keys
6 years ago
Alibek Omarov
d18708acf5
keys: fix indentation
6 years ago
Alibek Omarov
960e46c564
engine: adapt engine code to new platform backends system
6 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
7 years ago
Alibek Omarov
63513ec475
Small refactoring of EnableTextInput
7 years ago
Alibek Omarov
d3990e03e6
Add text input mode calls where they should be. Disable text input mode at initialization
7 years ago
Alibek Omarov
40094f2867
Move client-only parts to client
7 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
Alibek Omarov
5a1b03ac20
Integrate FWGS vgui_support
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago