summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/input/input_x11.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Linux X11 Input: Fix multiple lightgun support Kiall Mac Innes2019-04-051-2/+26
| | | | | | | On X11 Linux, every lightgun event was passed onto every lightgun device within MAME. This obviously works for 1 gun, but with 2, it causes both crosshairs to move in the same direction at the same time.
* Linux X11 Input: Fix lightgun support Kiall Mac Innes2019-02-281-1/+17
| | | | | | | | | | | | | | | | | | | | | 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
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-4/+4
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Adding id() property to input_device Tomer Verona2016-09-201-6/+6
| | | | | | | | | | | | This change adds id() property to input_device, which represents the unique device id. This allows the osd layer when creating a device to pass a friendly display name along with a unique identifier. Currently the device id is only used to map a physical controller device to controller id, but can be used more generally in the future. For raw input devices, we use the full raw input name as the device id. For all other devices, we fall back to device name as the device id. The "uniqueness" of the device id is not currently enforced in code.
* Put back accidentally replaced conditional compile directive (nw) Brad Hughes2016-08-221-1/+1
|
* cleanup missed x11 input module (nw) Brad Hughes2016-08-221-30/+31
|
* Cleanups and version bump Miodrag Milanovic2016-07-271-1/+1
|
* Fix input issues on big endian systems (fixes #963) Brad Hughes2016-06-291-5/+5
|
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-2/+2
|
* Cleanups and version bump Miodrag Milanovic2016-03-301-100/+100
|
* Fix build break for X11 input Brad Hughes2016-03-191-1/+1
|
* Refactor OSD input into modules Brad Hughes2016-02-281-0/+605