summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/interface/inputcode.h
Commit message (Collapse)AuthorAgeFilesLines
* osd/interface/inputcode.h: Fixed enum range warnings in debug builds. (#13137) ajrhacker2025-01-011-4/+4
|
* sinclair/sprinter.cpp: Added 2 full joysticks support (#12878) holub2024-10-141-4/+4
|
* Small batch of input refactoring: Vas Crabb2023-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | emu/input.cpp: Fixed regression in display of some joystick inputs. osd/interface: Split up interface classes into a few more files to reduce where the input device interface class needs to be included. Made OSD independent of concrete input_device class. osd/modules/input, emu/inputdev.cpp, emu/ioport.cpp: Allow input devices to provide tokens for controls without standard item types and additional default input assignments. Fixes issues assigning Yen and Backslash on Japanese keyboards. ui/textbox.cpp: Added a fixed-content text box menu class for future use. Got main.h out of emu.h as it’s only used in a very small number of places, mostly for getting the application name. Added eminline.h to attotime.h as it's used without emu.h. Cleaned up forward declarations in emufwd.h a little.
* -Input code cleanup: Vas Crabb2023-01-101-0/+35
| | | | | | | | | | | | | * dinput, xinput: Use proper item IDs for hat switches rather than "other switch". * xinput: Map right thumb stick to Z/rZ for consistency with SDL and DirectInput. * xinput: Map triggers to additional absolute axes 1 and 2. * xinput: Map start and back buttons to start and select. * Added default assignments for player 5-10 start/select. * Added default assignments for 5P-8P start and coin 5-8. -namco/namcos2.cpp: Changed collective pitch control to AD Stick Z.
* Optimisation, and baby steps towards untangling stuff: Vas Crabb2022-06-161-0/+872
Optimised the scheduler's handling of unscheduled timers - gives a 50% performance improvement in some timer-heavy drivers. Added better endianness swizzling helpers. Got rid of some of the OSD input modules' dependence on concrete input classes from emu.