Commit Graph
524 Commits
Author SHA1 Message Date
Crystal SquirrelandGitHub 521b09ea1f Merge pull request #2071 from Davidian1024/not_a_joystick_exceptions
Added an exception to the "not a joystick" logic for the RedOctane USB Pad.
2021-03-23 04:25:47 +00:00
din fa4109b652 stac support 2021-03-21 13:42:03 -05:00
Martin Natano 5c27754b39 Mark keypad buttons as such in the input mapping screen
Both the slash key and the numpad slash key were displayed as 'Key /',
so it's not obvious to the user which key actually has been bound. Let's
display them as 'Key /' and 'KP /' instead. Same for other KP keys.
2021-01-18 21:54:30 +01:00
Colby Klein aab36dae8d macos apparently wants the arm64 define instead sometimes 2021-01-08 08:37:44 -08:00
Colby Klein 261daef933 fix build and no audio out on macOS 11, closes issue #2080 2021-01-08 07:58:35 -08:00
dinandGitHub a7f666ecdb PIUIO Btn board lights, menu lights added. (#2073) 2020-12-17 11:45:58 -08:00
David Brinovec da92003005 Added an exception to the "not a joystick" logic for the RedOctane USB Pad. 2020-11-27 17:24:25 -05:00
ArusekkandGitHub 95d782d3fc input: Low-effort X11 mouse support (#2042)
A simple wrapper around XLookupKeysym, which does not return
expected XK_Pointer_* for button events.
Tested on Gentoo Linux.
2020-11-23 12:21:17 -08:00
dinandquietly-turning 771d0a1c7d check pacdrive functions before calling them
Before, if the PacDrive32.dll provided by Ultimarc wasn't found,
stepmania would attempt to write to the Pac-Drive anyway, resulting in a
call on a null pointer.

This adds a quick check against PacDriveConnected during the update, and
checks if the pacdrive functions exist before calling them.
2020-09-14 23:20:56 -04:00
Kevin Turnerandquietly-turning 2f97420f81 Updated light-setting code to use switch statements
I will say, the version of this that didn't have break statements had
way, way more flashy light patterns than the boring, correctly
functioning version of this.

Also, the preference now defaults to "minimaid"
2020-09-11 16:48:07 -04:00
Kevin Turnerandquietly-turning ad2825ba3c Cleaned up if-else code and made pref check case-insenstive 2020-09-11 16:46:07 -04:00
Kevin Turnerandquietly-turning 47d6d82962 Add preference to change PacDrive light ordering
The currently proposed light ordering presents a problem for those who have bought a LumenAR or have followed the OpenITG standard for wiring lights. With this change, the default ordering stays the same, but users have the option to define "openitg" or "lumenar" as their preferred light ordering in Preferences.ini under the newly defined "PacDriveLightOrdering" preference.
2020-09-11 16:45:42 -04:00
skogaby e81e867ee8 Add a lights driver that outputs the sextet lights protocol over a serial connection, instead of to a pipe. Also refactor the sextet lights driver to use a common utility file that the serial driver takes advantage of as well. 2020-07-19 12:45:10 -05:00
Ben Kirzhner b959bcfc39 Merge branch '5_1-new' into catalina-workaround 2020-07-04 21:49:03 -07:00
Seán de BúrcaandMartin Kröning 6649a116ed Update gtk+ LoadingWindow to use gtk3 2020-06-21 23:31:02 +02:00
Marshall Polaris a10f16cb3c Log errors while reading joystick input 2020-05-15 21:24:16 -07:00
din 653e8ff6fe Small memory fixes. 2020-05-14 16:19:23 -05:00
din e799b292da ITGIO Support for Linux 2020-05-08 19:49:40 -05:00
aeubanksandGitHub e16017bd1a Clean up InputHandler_SextetStream (#1985)
Before, this ended up calling a virtual method in the constructor,
which C++ does not allow, and I got weird crashes.

This removes a lot of unused code and gets rid of unnecessary abstractions.
2020-04-30 13:24:23 -07:00
Prcuvu b38377403e Add LOG->Warn on fallback to English, for consistency on all platforms 2020-02-08 17:08:25 +08:00
Prcuvu 2baade1dd7 ArchHooks modified for macOS 2020-02-08 17:03:27 +08:00
Prcuvu d893c84b7b ArchHooks modified for Unix 2020-02-08 16:08:02 +08:00
Prcuvu de4dc62846 Split Chinese language into Simplified script and Traditional script
ArchHooks function modified for Windows.
2020-02-08 15:46:00 +08:00
Prcuvu 532c430d8f Fix XInput library linkage for compatibility down to Windows Vista 2019-12-31 16:04:17 +08:00
Tommy Li aae68b4b72 Add a draft for NSEvent based keyboard input. 2019-12-22 21:21:18 -06:00
Tommy Li 6b524a6c1f Add CMake instructions to copy default resources to app bundle, and add mounting points for those resources. 2019-12-22 21:20:57 -06:00
Tommy Li d8acd46319 More synchronous call to the main thread to avoid crashes 2019-12-22 12:56:39 -06:00
Matias Hilden cb10b61d34 fix leftover macro loop in JACK sound driver 2019-12-08 13:52:07 +02:00
tommy.li 81a041e3dd "Fixed" some Objective-C API issues blocking the game from launching 2019-11-16 00:31:47 -06:00
Martin NatanoandColby Klein 7dae1384e6 Sort input devices on Linux (#1926)
* Remove unused function

* Sort input devices on Linux

The readdir() function doesn't guarantee any specific ordering, so the
numbers of joysticks might change when restarting StepMania.
(Empirically this usually only happens after a reboot.)

Let's sort the input devices alphabetically before opening them to have
more consistent numbering and avoid annoying remapping of controllers.
2019-10-29 08:05:29 -07:00
Tracy WardandGitHub 81ce0e94d9 Merge: Windows x64 build support (#1899) 2019-10-13 15:56:04 -04:00
Tracy WardandGitHub a5a4bb5827 Add support for Raw Thrills I/O (DDR X2 US cabinets) on Windows (#1894) 2019-10-13 03:59:35 -04:00
PrcuvuandGitHub 44b76446bb Merge branch '5_1-new' into win64 2019-10-06 00:55:50 +08:00
x0rbl 77e2776dad Raw Thrills I/O: Add support for the physical coin counter inside the coin door 2019-10-04 17:44:32 -07:00
Tracy Ward 626e58700e Fix build errors with IH_DirectInput using the Win SDK
* dxguid.lib no longer exists.
* older SDKs (like the v140_xp toolset) don't provide XUSER_MAX_COUNT.
2019-10-04 09:46:51 -04:00
Tracy Ward dfb524a547 Fix incorrect usage of GetLastError in LLW_Win32
GetLastError must be called before any other function which could possibly
change it, otherwise we will lose the error code.

(backport from master)
2019-10-04 08:56:03 -04:00
Prcuvu 1fa9bb387c Fix for *nix build 2019-10-03 12:17:53 +08:00
Prcuvu 4026d41c16 More Windows API type inconsistency fix 2019-10-03 09:33:27 +08:00
Prcuvu 54c067f48d Fix Windows x64 type inconsistency regarding RageTexture 2019-10-03 08:58:14 +08:00
dguzekandGitHub 17135e0e21 Merge pull request #1868 from RhythmLunatic/mainline
Support any size splash on linux (Again)
2019-10-02 10:18:13 -04:00
Prcuvu 4f864911fc Use SetClassLongPtr compatible for both Windows x86 and x64 2019-10-01 14:14:38 +08:00
Prcuvu e5321deed4 Fix DLGPROC prototype 2019-10-01 14:10:56 +08:00
RhythmLunatic 91c31431e8 back to DOS line endings 2019-09-21 13:48:13 -05:00
x0rbl b4806b0038 Raw Thrills I/O: Added comments listing the author and a summary 2019-09-20 15:37:12 -07:00
x0rbl 6841d0574d Raw Thrills I/O: Minor code cleanup 2019-09-19 00:18:39 -07:00
x0rbl 9481834180 Add pad support for Raw Thrills I/O (DDR X2 US cabinets) on Windows 2019-09-18 03:12:04 -07:00
Martin KröningandColby Klein 8ab7c7fab9 5_1-new: Fix building with clang/clang++ (#1866)
* Have clang and libc++ working.

If any clang users run into problems, remember to have libc++ and libc++abi set up.
Fixes
stepmania/src/arch/ArchHooks/ArchHooks.h:37:27: error:
      variable has incomplete type 'tm'
        virtual void SetTime( tm ) { }
                                 ^
/usr/include/wchar.h:83:8: note: forward declaration of 'tm'
struct tm;
       ^

* Add noexcept to swap.

See https://github.com/stepmania/stepmania/commit/e860773799f01d02f281c8c39421e7e34658788d#commitcomment-32674320

* Use standard c++11 for handling unexpected exceptions

The cxxabi.h header can make linking difficult.
2019-08-20 18:19:52 -07:00
RhythmLunatic deab68b012 Back to C++ 11 2019-08-13 23:47:59 -05:00
RhythmLunatic 0a9718374b support any size splash on linux 2019-08-13 23:43:35 -05:00
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00