Added Joystick/Gamepad support directly in browser

Hi guys,

I took the liberty to add support for joystick/gamepad directly in the JavaScript so no need for external key mapping tools. It works great with a PS4 controller over Bluetooth and should support Firefox, Safari and Chrome.

It maps gamepad buttons to the existing boat docker keystrokes to minimize code changes.

I linked the zip file with all the changes – not many.

Hope it helps, great job on the simulator!
Pedro Paixao

Leave a Reply

Leave a Reply