There is an updated pull request by joshuakraemer against master on the void-packages repository https://github.com/joshuakraemer/void-packages dosbox-joystick-patch https://github.com/void-linux/void-packages/pull/14474 dosbox: patch to support full mapping of joysticks 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 A patch file from https://github.com/void-linux/void-packages/pull/14474.patch is attached