Commit Graph

24 Commits

Author SHA1 Message Date
0efc5e82ec engine: fix some const qualifier lose and pointer-to-int casts 2021-07-20 16:03:06 +03:00
Nord1cWarr1or
8d793521c4
engine: keys: fix misleading comment
Update keys.c (#514)
2021-06-28 20:10:41 +03:00
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.
2021-01-07 17:37:37 +03:00
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:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
5aef09ce5d engine: client: simplified strings operations. 2020-12-29 01:07:00 +03:00
26a1ba543f client: add some useful keys to Key_ToUpper 2020-02-08 23:15:40 +07:00
3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00
9d826016b0 engine: finish sdl1.2 port 2019-11-02 08:56:07 +03:00
5e31e3fad0 keys: rotation support 2019-10-31 13:22:58 +07:00
57d48b64eb keys: add OSK 2019-10-28 12:28:52 +07:00
7f3ee9ca71 input: merge touch support again. Fix m_ignore, fix EngineAppendMove 2019-09-27 02:19:03 +07:00
3bf5f19446 keys: fix default binding of ESC button after unbindall command 2019-07-11 03:57:09 +03:00
7d10660b87 engine: keys: give gamepad keys names 2019-07-09 03:48:09 +03:00
b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
8770bdc694 keys: allow autorepeat for menu and console for any keys 2019-01-30 21:47:05 +03:00
d18708acf5 keys: fix indentation 2018-11-02 01:09:09 +03:00
a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
960e46c564 engine: adapt engine code to new platform backends system 2018-10-22 00:27:52 +03:00
491188a0f3 Merge branch 'original' 2018-10-04 14:27:14 +07:00
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. 2018-04-23 23:07:54 +03:00
63513ec475 Small refactoring of EnableTextInput 2018-04-22 14:01:56 +03:00
d3990e03e6 Add text input mode calls where they should be. Disable text input mode at initialization 2018-04-21 00:37:16 +03:00
af7123f7dd Merge branch 'original' (except gldebug, msaa) 2018-04-19 20:47:41 +00:00
40094f2867 Move client-only parts to client 2018-04-18 18:10:32 +03:00