-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboardmania support #60
Conversation
@aleksre can you check that this actually works still :D https://github.com/PCSX2/pcsx2/tree/usb-keyboardmania |
Hmm. I can't seem to build PCSX2 locally without errors. I'll verify once it's merged to master at least :) |
@jackun Was able to build it now. Works great! 👍 |
Nice work! Happy to see this supported. The only other way to play Keyboardmania in PCSX2 up until now was a plugin that someone is selling for ~$50 (seriously). I previously made a branch to make Keyboardmania playable but I took an entirely different approach and it turned out really messy so I never tried upstreaming it. Keyboardmania supports multiple USB devices as input controllers besides the official controller, so I ended up implementing a full on MIDI keyboard that was supported between both of the Keyboardmania releases. If it's any interest or help at all, here's my old branch: https://github.com/987123879113/USBqemu-wheel/tree/keyboardmania For reference, here's the full list of supported devices pulled from the game's code:
|
Nice. MIDI emulation would actually be a really nice addition IMO, and probably quite a bit easier for people who want to play using a MIDI keyboard. There are also other PS2 titles that allow MIDI hardware to be connected over USB so I guess support could be expanded over time to support more games. Guitar Freaks & DrumMania comes to mind, maybe others as well? |
I'm not sure what other games use MIDI besides GFDM, but I did have some WIP code that worked with GF4DM3. I stopped short of debugging why later GFDM games didn't accept the emulated UX-16 MIDI adapter. Most likely the faked USB descriptor is my guess. I'll see about cleaning up and fixing the code and maybe sending off a PR after working out some kinks. |
Started to add Linux support and noticed buttons 7,15,23 are unused? |
Yes, they don't map to anything in-game. Looks like those buttons would map to hex |
|
Yeah that's true. In that case I'm not sure, although it's peculiar that the skips are at these exact positions. I only skipped these buttons because I noticed they didn't work and the next index mapped to the expected button. |
This PR adds support for the Keyboardmania controller to USBqemu. Supported games are Keyboardmania 1 and Keyboardmania 2+3, both of which are now playable for the first time.
Tested and fully working: