Commit graph pcem/src/gameport.c
Author SHA1 Message Date
SarahW
cfd2e4e14c Fix gameport timing when no joystick plugged in. Fixes phantom joystick in some games (eg Rayman, The Lion King, Zone 66). 2019-05-04 16:02:55 +01:00
SarahW
03b5a44aca More CPU sanitisation. 2019-02-08 21:17:56 +00:00
SarahW
a7d006b637 Rewrote timer code.
The new code is based on timestamps, rather than delays. This eliminates the
need to update every timer in timer_process(), which cost a non-trivial amount
of CPU time on low-end machines.

This involved changes to every user of the timer code, so this change almost
certainly introduces bugs.
2018-08-02 22:06:10 +01:00
SarahW
4324223f54 Added per-model configuration.
Removed global cga_comp setting in the process.
2016-12-14 20:47:22 +00:00
SarahW
ef4d0ce9c2 Added Thrustmaster FCS emulation. 2016-07-21 20:14:17 +01:00
SarahW
68fdba354f Added CH Flightstick Pro emulation. 2016-07-20 22:04:50 +01:00
SarahW
7980438e1f Reworking of joystick support :
- Joystick type now selectable
- Added emulation of standard joysticks with up to 8 buttons
- Added emulation of Microsoft Sidewinder pads
- Host->emulated joystick button & axis mapping now configurable (only on Windows atm)
- Gameport registers now take 1us to access - helps Sidewinder drivers
2016-06-21 22:00:31 +01:00
SarahW
61d7cf2276 Added PS/1 Audio Card emulation. 2016-04-13 21:56:15 +01:00
TomW
4cb7d58d53 Added joystick emulation 2014-06-08 13:45:26 +01:00