How to config Keyboardmania usb controller with Pcsx2 v1.7
#1
Is it support the controller? If possible, how to config it. Thanks

Sponsored links

#2
you need wx version. usb isn't ready with qt interface
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
#3
(09-01-2022, 10:59 AM)jesalvein Wrote: you need wx version. usb isn't ready with qt interface

thx, but now i configure the buttons, when i press the keyboardmania controller, all buttons detect to 2/0.
then i test the device, i press anyone of the keys, the buttons 57-62 turn to value 1, not go back to 0
is that normal? and how to fix the configuration?  Sad


Attached Files Thumbnail(s)
       
#4
https://wiki.pcsx2.net/index.php?title=KeyboardMania
I think you will have to play it on your real PS2 for now
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
#5
finally, i config the button to keyboard ,
and download JoyToKey to remapping the key of controller to keyboard
i can play on pcsx2 now, thank you Biggrin
#6
JFYI I managed to reverse engineer the protocol this keyboard uses and wrote a small app that creates a MIDI bridge allowing it to be used as a MIDI controller on PC. I expect support for the controller can be implemented in a relatively straightforward way given the info:

USB device info:

- idVendor: 0x0507 (Hosiden Corp)
- idProduct: 0x0010

Protocol appears to be generic HID protocol with length 8 payload, broken down as follows:

- first byte is always 0x3f
- bytes 2 - 5 are a simple bitmask representing keys/buttons pressed
- last 3 bytes are always 0x00

Bitmask values for each key:

Select: 00 40 00 00
Start: 00 00 40 00
Whl-Up: 00 00 00 20
Whl-Dn: 00 00 00 40

C3: 01 00 00 00
C#3: 02 00 00 00
D3: 04 00 00 00
D#3: 08 00 00 00
E3: 10 00 00 00
F3: 20 00 00 00
F#3: 40 00 00 00
G3: 00 01 00 00
G#3: 00 02 00 00
A3: 00 04 00 00
A#3: 00 08 00 00
B3: 00 10 00 00

C4: 00 20 00 00
C#4: 00 00 01 00
D4: 00 00 02 00
D#4: 00 00 04 00
E4: 00 00 08 00
F4: 00 00 10 00
F#4: 00 00 20 00
G4: 00 00 00 01
G#4: 00 00 00 02
A4: 00 00 00 04
A#4: 00 00 00 08
B4: 00 00 00 10

I guess I can't post link to the code here, but search for keyboardmania-midi-bridge on github.
#7
Oh nevermind, I guess it's already easy enough to map the keys from within the PCSX2 UI since the device is detected as HID input. There's a KeyboardMania key mapping in the dropdown under USB port in the Controllers menu. Native support would be neat but it seems like there's reasonable support present already.
#8
The most recent post in this thread is more than 8 months old. Please create a new thread and refrain from posting in threads older than 8 months in the future. Please also review the forum rules. Thank you.
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go




Users browsing this thread: 1 Guest(s)