summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/palloc.h
diff options
context:
space:
mode:
author Kiall Mac Innes <kiall@macinnes.ie>2019-02-28 09:11:18 +0000
committer Kiall Mac Innes <kiall@macinnes.ie>2019-02-28 09:15:18 +0000
commitee2595d7c8a6501843a1a70a2677960b5ad4424b (patch)
treeca052762858879a0070288045331d63dd2bf53ee /src/lib/netlist/plib/palloc.h
parentcf02fe333af9cb4d5a4d55fbc95fb9af548a8d8e (diff)
Linux X11 Input: Fix lightgun support
SDL/X11 number mouse/lighgun buttons 1,2,3, while windows and other parts of MAME like offscreen_reload expect 0,2,1. Transpose buttons 2 and 3, and then -1 the button number to align the numbering schemes. This fixes lightgun support on Linux - tested with an Ultimarc AimTrak and the following config: lightgun 1 lightgun_device lightgun lightgunprovider x11 lightgun_index1 "Ultimarc Ultimarc" offscreen_reload 1 Note: MAME must be compiled with XInput support: make -j10 NO_USE_XINPUT=0 Fixes bug #4695
Diffstat (limited to 'src/lib/netlist/plib/palloc.h')
0 files changed, 0 insertions, 0 deletions