joyosc ist ein effektiver Joystick to OSC „Broker“. Jeder einzelne Event (Trigger, Buttons) wird einzelen übertragen. Fast alle Pads werden unterstützt. Es unterstützt auch mehrere Pads gleichzeitig. Dabei kann auch remapped werden. Einziger Nachteil: Es ist nicht Plug&Play. Allerdings ist das für die Spezialanwendung TennisForTwo der PlotArcade auch nicht wichtig, da dies vermutlich eh nur – falls je – an einer Ausstellung gezeigt wird.
Joystick to OSC:
https://github.com/danomatika/joyosc
joyosc -e
/gc0 DualSense Wireless Controller axis: leftx -4498
/gc0 DualSense Wireless Controller axis: leftx -4755
/gc0 DualSense Wireless Controller axis: leftx -5012
/gc0 DualSense Wireless Controller button: a 0
/gc0 DualSense Wireless Controller axis: leftx -5269
/gc0 DualSense Wireless Controller axis: leftx -5526
/gc0 DualSense Wireless Controller axis: leftx -5783
/gc0 DualSense Wireless Controller button: a 1
/gc0 DualSense Wireless Controller axis: leftx -6040
/gc0 DualSense Wireless Controller axis: leftx -6297
/gc0 DualSense Wireless Controller axis: leftx -6554
/gc0 DualSense Wireless Controller axis: leftx -6040
Config changes
<!-- OSC send settings (defaults: 127.0.0.1 && 8880) -->
<sending ip="127.0.0.1" port="9007"/>
<controller name="DualSense Wireless Controller" address="/ps#">
<!-- extended: enable unmapped joystick button or axis events?
ex. PS3 Controller button pressure axes -->
<remap>
<!-- send extended joystick axis 6 as x value, etc -->
</remap>
</controller>
Download config.xml hier:
Start
joyosc -e config.xml