There's a closed pull request on the void-packages repository dosbox: patch to support full mapping of joysticks https://github.com/void-linux/void-packages/pull/14474 Description: Without this patch, dosbox is only able to use: - either 2 joysticks/gamepads with 1 analog stick each (no hat switches/d-pads) - or 1 joystick/gamepad with 1 analog stick and 1 hat switch/d-pad (with `joysticktype=fcs`) This patch allows full mapping of 2 joysticks/gamepads with 2 analog sticks and 1 hat switch/d-pad, which means modern joysticks and gamepads can be fully used to play dos games in 2-player mode. This patch is also used by Recalbox OS, see https://github.com/recalbox/recalbox-buildroot/blob/master/package/dosbox/dosbox-003-joystick-8axis.patch