Commit Graph

23 Commits (96845081c03ed0bfd7effa86273ddb2ce74ece5b)

Author SHA1 Message Date
elsid 58b72e3836
Access channels and controls via at function
To avoid UB on out of range access.
4 months ago
elsid 6a5bc9f992
Save and rename input bindings file
To reduce the chance of corrupting the file.
4 months ago
AnyOldName3 84f8a6848a Renormalise line endings
This should replace accidental CRLF with LF
2 years ago
Andrei Kortunov 230e06dec7 Make joysticks dead zone configurable (bug #5502) 5 years ago
Andrei Kortunov 2e7712a390 Fix C5204 warnings by adding default virtual destructors 5 years ago
Michael Stopa e4bec88a68 Implement mouse wheel bindings (bug #2679) 5 years ago
scrawl 8d17565efd Fix joystick binding for an action being discarded when default for another action is loaded (Bug #3900) 8 years ago
Bret Curtis d48b829b45 replace and purge boost::lexical_cast 8 years ago
scrawl 6f878327bf Fix unused ICS_MAX warning 8 years ago
scrawl 39fb46601a Readded input & event handling 10 years ago
Digmaster e3e6190b85 Added multiple joystick support in ICS. Will fix other issues shortly 10 years ago
Digmaster 1e4a845b6f Minor code cleanup 10 years ago
Digmaster bb6ed06a4e read gamecontrollerdb file location from settings file 10 years ago
Digmaster c37881ead1 Joystick Support 10 years ago
scrawl f9b6cc468d Don't reset an unbound input action to its default binding if the key/mouse button for that default binding is already used by another action (Fixes #1960) 10 years ago
scrawl 319f4e0547 Bind to scancodes instead of keycodes 10 years ago
scrawl 41ab7329a8 Store keybindings as keycode, not keyname. Also use SDL_GetKeyName instead of a manually created map. Fixes #1202
Note: breaks compatibility with input.xml, so the filename was changed.
11 years ago
Fil Krynicki 97caa1f8a4 Alternative fix strategy by checking for binding state 11 years ago
scrawl 439018e706 Get rid of useless return values 11 years ago
scrawl c004fb778f Get rid of underscore defines. They are reserved by the standard. 11 years ago
Jordan Milne ed644259ce Move SDL helpers to their own package in extern/, allow conversion from sdl to ois keycodes, (maybe) fix unicode handling 12 years ago
Jordan Milne 884d3ea4d8 Rip out OIS, fill the holes with SDL goodness. WIP. 12 years ago
scrawl 86d6f190bf Input system rewrite 13 years ago