flycast
flycast copied to clipboard
(Naomi) Crackin' DJ & Part 2
The game seems to be using exotic analog controls, but they might actually be something similar to arkanoid's wheel control ? I think it's playable in demul (there is a video of someone playing it with a xbox 360 controller on youtube).
I got to this issue from #514 getting ready for my Sinden gun to arrive :)
Not sure if it helps but mouse is working as below.
I did calibrate the sword for Mazan: Flash of the Blade (World) in the Test menu and that is working in those games.
Im not sure if the sword stays horizontal on the arcade machine. In game the slashes show in the correct orientation onscreen even if the sword angle does not seem to visually change much.
The original hardware uses two turntables and a cross fader in the middle.
I believe the two turntables works simmilar to how arkanold's analog controls(or turntable in Beatmania series)but will automaticly spin when playing and the cross fader are your normal analog controls.
see:https://www.youtube.com/watch?v=KRdVmZZ9Jrc&t=735s for refference.
Unlike beatmania the turtables are spinning which cause the sensor value to be constantly changing. This would have to be added to the input system. Also, it would be impossible to us a beatmania or a DJ hero controller as the game have to detect when the player have their hand on the plater. But, this could work with MIDI DJ controllers who have touch sensitive platers. This is the input method used by the PC clone trackin'DJ
https://github.com/flyinghead/flycast/commit/10d3ffdf09483d0b65311dbc5b405266f219f57e
mightve linked it wrong but it seems its fixed now on standalone flycast, have fun!
I saw a Flyinghead's youtube with a Traktor Kontrol S4 DJ controller working with this, has anyone gotten this to work? So far, I've gotten my Pioneer DJ controller to work with the buttons (Coin, Start, Service, and Test) along with the Crossfader working 100% using both Vjoy and Midi2Vjoy (to convert my Pioneer DJ's midi notes as Vjoy Analog and button inputs) but I can't get the turntables mapped to the DJ controller. I know its currently mapped to the mouse X and Y which work perfectly, I just can't get those inputs translated to my jog wheels.
This is just a proof of concept using this DJ Controller. Unfortunately there's no standard API or protocol for these devices so each model must have its own driver/configuration. That's way too much work for just 2 games.
PS: This repository is no longer used. Go to https://github.com/flyinghead/flycast instead
@flyinghead Anyway you wanna share your concept settings? I don't know if you used a mapping file or other external translators like I have (midi2vjoy = mapping fader as an analog axis, Bome Midi Translator Pro = converting jog wheel midi messages to mouse movement and resetting mouse cursor to center screen position), but I don't mind toying with settings to get it to work with other controllers.
I didn't use any utility but coded using hidapi to communicate with the controller. I used Mixxx to figure out the data format used by the S4. I can share the source if you're interested but it will only work with this controller.
@flyinghead sure, i'd love to take a look at it
Here we go: https://github.com/flyinghead/flycast/commit/1d4106968ee3e1ee2cd1e1b13996501525765eb8
All traktor s4 specific stuff is in core/sdl/hid.cpp. Everything else may work as is with other controllers.