Commit Graph

7156 Commits

Author SHA1 Message Date
Stephen Anthony cd9d25c5c7 libretro: Use standard C++17 code instead of Windows-specific code. 2022-02-01 16:14:03 -03:30
Thomas Jentzsch 4196763da8 Libretro: Some code cleanup
Libretro: Renamed "Paddle" into "Analog"
2022-02-01 09:58:04 +01:00
Keith Bowes 3cf272204e
[libretro] Update libretro.h (#869) 2022-02-01 09:24:15 +01:00
Stephen Anthony 625c159b81 libretro: Fix minor compile warning. 2022-01-31 18:12:00 -03:30
Thomas Jentzsch 839feb7c3d Libretro: added analog paddle sensitivity
Libretro: added console switches mappings for 2nd (joypad) controller
2022-01-31 09:02:44 +01:00
Thomas Jentzsch 6e896f1228 added light gun position scaling (now it works with a mouse) 2022-01-30 23:42:19 +01:00
Thomas Jentzsch d43227444a updated Libretro VS project file 2022-01-30 19:26:31 +01:00
Thomas Jentzsch fc162e14fb trying to fix Libretro build failure 2022-01-30 11:38:03 +01:00
Thomas Jentzsch fe84e613ce added analog paddle mapping for Libretro
added input descriptions for Libretro
2022-01-30 11:12:51 +01:00
Thomas Jentzsch 8875e04faa added light gun to input description list 2022-01-29 18:30:40 +01:00
Thomas Jentzsch b1f35edc3b second attempt of implementing light gun support for Libretro 2022-01-29 12:15:46 +01:00
Thomas Jentzsch ee923a5577 first attempt of implementing light gun support for Libretro 2022-01-29 11:37:00 +01:00
Thomas Jentzsch 76914ded62 added missing controller mappings 2022-01-26 19:34:03 +01:00
eds-collabora 4e98848528
Update documentation for keybindings in Driving Mode (#868)
The default keybindings remain the same as they did, they are just
no longer shared with the Joystick Mode.
2022-01-26 18:58:47 +01:00
eds-collabora d46605fd22
Reorder "Driving" within the event mapping widget (#867) 2022-01-24 09:19:38 +01:00
eds-collabora 1db9de390a
Fixes for driving mode changes (#866)
- Use a float divisor to reduce the high resolution counter to a gray
  code. This gives a more stable rate of change for the gray code when
  using a sensitivity other than 1.
- Slightly remap the axis space, so that the positive and negative
  ranges are the same. The new range is [64,-1] [1, 64]. We don't need
  zero, because of the analog dead zone.
- Reorder the Event enum as suggested for on PR860.
2022-01-21 08:38:30 +01:00
Thomas Jentzsch 0ef0636eb9 fixed the fix 2022-01-20 13:02:41 +01:00
Thomas Jentzsch 31f6432bc5 fixed #864 (SC-RAM reads from write ports) 2022-01-20 12:21:53 +01:00
eds-collabora db8ae212ef
Driving mode enhancements (#860)
The driving controller is closer to a paddle controller than a
joystick, but doesn't have hard stops.

This patch adds:
- A dedicated set of event bindings for driving.
- The option to use an analogue steering input from a regular joystick
  axis, and a separate higher resolution counter to assist with this.
2022-01-19 15:23:14 +01:00
Stephen Anthony 4fce2156df Fixed code signing issues in latest Xcode for Mac. 2022-01-07 20:46:25 -03:30
Stephen Anthony c59d9a6f81 Fix 'nib' warning in latest version of Xcode for Mac.
I'm not sure this is the best way to do it, but I don't really know Obj-C.
2022-01-07 20:20:23 -03:30
Stephen Anthony 11d2f34bcb Update copyright to 2022. Happy New Year! 2021-12-31 16:07:17 -03:30
Stephen Anthony a8b949e3a3 Yet more formatting issues I forgot in the last commit. 2021-12-30 11:40:42 -03:30
Stephen Anthony 5cec746b29 Minor formatting changes I forgot in a previous commit. 2021-12-30 11:38:34 -03:30
Christopher Obbard 2c31957173
joystick: Add menuMode mappings before emulationMode mappings (#847)
For some controllers, the initial default (i.e. when the controller
is first attached) mappings seem to not work in emulation mode, but
work just fine in menu mode. The emulation mode mappings are shown
in the UI, but do not work until the second time the emulator is
started.

From debugging, even in emulation mode the joyMap is returning
menu bindings when in-game. Fix this bug by adding the emulation
mode mappings before the menu mode mappings.

Fixes: a7189ce7ec ("fix attempt for #692")
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2021-12-30 11:12:48 -03:30
Thomas Jentzsch 130e79dd9a Merge branch 'master' of https://github.com/stella-emu/stella 2021-12-21 11:25:35 +01:00
Thomas Jentzsch bdabbf9aa0 fixed and enhanced audio frequency display in debugger 2021-12-21 11:25:17 +01:00
Stephen Anthony 13aa034221 Added some missing help options to configure script. 2021-12-19 23:40:19 -03:30
Stephen Anthony bd2f5cc866 Make configure script use system libsqlite3, if requested (disabled by default). 2021-12-19 23:36:13 -03:30
Stephen Anthony 6dc8c51395 Disable warnings for sqlite in Visual Studio. 2021-12-19 22:02:35 -03:30
Thomas Jentzsch bfc59ddcc3 fixed virtual folders (fixes #855) 2021-12-19 09:05:10 +01:00
Stephen Anthony a952bef910 More cleanups to VS project. 2021-12-18 18:45:28 -03:30
Stephen Anthony aa74f00b7f Some cleanups to Visual Studio project for warnings.
Disable all warnings from httplib.h, since we don't control that code.
Fix a few warnings recommended by VS, and disable the rest.
2021-12-18 18:26:10 -03:30
Stephen Anthony 88742d93ef Fix minor warnings from clang-13. 2021-12-18 14:15:58 -03:30
Stephen Anthony 1f8666bde5 Fix for missing 'CC' compiler in configure script (fixes #856). 2021-12-18 12:47:53 -03:30
Thomas Jentzsch 181e02e3a5 removed two unused variables (fixes #856) 2021-12-18 09:44:53 +01:00
Thomas Jentzsch 0d677d1a97 updated docs (incl. R77)
enhanced launcher code for R77
2021-12-17 15:40:34 +01:00
Thomas Jentzsch 66502c9ffe added a few minor enhancements to the BrowserDialog 2021-12-17 10:38:32 +01:00
Thomas Jentzsch 3a8fe1b037 aligned button sizes in launcher 2021-12-17 10:28:34 +01:00
Thomas Jentzsch 49694c1f18 fixed Launcher filtering of ZIPs not containing any valid ROMs 2021-12-16 09:51:11 +01:00
Stephen Anthony 21127e95a8 Updated Xcode project, and various fixes for Xcode and MacOS 12. 2021-12-15 13:32:57 -03:30
Thomas Jentzsch 73839eb296 finally added a help button to the launcher 2021-12-15 16:28:21 +01:00
Thomas Jentzsch db11e0c9c2 trying to fix menu problems with analog controllers 2021-12-15 12:26:00 +01:00
Thomas Jentzsch 80f40a3e5b fixed minor compiler warning 2021-12-14 23:21:26 +01:00
Stephen Anthony 6349df1242 Fix minor compile warnings. 2021-12-14 18:47:11 -03:30
Thomas Jentzsch bd15d76643 enhanced folder navigation in launcher 2021-12-14 22:31:09 +01:00
Thomas Jentzsch e0048a7421 added the (usual) missing files :| 2021-12-13 15:39:40 +01:00
Thomas Jentzsch 1e0da2177d refactored file navigation bar into own class
enhanced BrowserDialog
2021-12-13 15:38:59 +01:00
Fabrice Fontaine 143cf9fa13
configure: add CC (#854)
Add CC to fix the following build failure when cross-compiling which is
raised since
771b5b44e3:

out/src/sqlite/sqlite3.o: file not recognized: file format not recognized

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-12-12 18:16:52 -03:30
Thomas Jentzsch ab1768a0ec fixed virtual folder handling when "romdir" is a virtual folder 2021-12-12 09:45:49 +01:00