ObjFW  History of src/hid/OHGameController.h of 10cce4f6ef47ba95

History of file src/hid/OHGameController.h at check-in 10cce4f6ef47ba95

2024-11-03
15:46
ObjFWHID: Properly hide private methods

Also fixes compiling XInput with GCC. file: [adf99e5588] check-in: [bc3a7747d9] user: js, branch: trunk, size: 3336 [annotate] [blame] [check-ins using] [diff]

2024-10-22
22:29
-[OHGameController {retrieve -> update}State] file: [5a0ee8476d] check-in: [23e3ffff7a] user: js, branch: trunk, size: 3298 [annotate] [blame] [check-ins using] [diff]
2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [b50a9d0041] check-in: [164f2fb4bf] user: js, branch: trunk, size: 3302 [annotate] [blame] [check-ins using] [diff]
00:37
ObjFWHID: Make profiles implementation independent file: [ce18140fea] check-in: [ddaa4f35d0] user: js, branch: trunk, size: 3310 [annotate] [blame] [check-ins using] [diff]
2024-06-09
15:12
ObjFWHID: Make OHGameControllerProfile a protocol file: [526e49cd36] check-in: [8be13b6bc6] user: js, branch: trunk, size: 3363 [annotate] [blame] [check-ins using] [diff]
11:43
OHGamepad: Move some elements to OHExtendedGamepad

This allows to have a profile for limited gamepads such as found on the
Nintendo DS rather than only having the raw profile for those. file: [805ad805e2] check-in: [998339ff24] user: js, branch: trunk, size: 3342 [annotate] [blame] [check-ins using] [diff]

09:53
OHEvdevGameController: Buttons for N64 controller file: [993476fab8] check-in: [f5e3072b7e] user: js, branch: trunk, size: 3118 [annotate] [blame] [check-ins using] [diff]
02:13
OHEvdevGameController: Add button map for Joy-Cons file: [711330479c] check-in: [081c229439] user: js, branch: trunk, size: 3070 [annotate] [blame] [check-ins using] [diff]
01:59
ObjFWHID: Add support for Stadia controller file: [62dbcc3482] check-in: [67c7e7c8ae] user: js, branch: trunk, size: 2937 [annotate] [blame] [check-ins using] [diff]
01:34
ObjFWHID: Add support for DualShock 4 via evdev file: [6042a397f5] check-in: [5fe4c8c1bf] user: js, branch: trunk, size: 2846 [annotate] [blame] [check-ins using] [diff]
2024-06-08
22:40
ObjFWHID: Add support for DualSense via evdev file: [c319f82148] check-in: [3d8deae83e] user: js, branch: trunk, size: 2801 [annotate] [blame] [check-ins using] [diff]
2024-06-04
23:51
Add OHGamepad file: [5443a68735] check-in: [c45b04b1f8] user: js, branch: trunk, size: 2651 [annotate] [blame] [check-ins using] [diff]
2024-06-03
19:45
Rename OHGameController{Mapping -> Profile} file: [f4bfdcdd03] check-in: [f333689336] user: js, branch: trunk, size: 2464 [annotate] [blame] [check-ins using] [diff]
19:39
Renamed src/hid/HIDGameController.h → src/hid/OHGameController.h. ObjFWHID: Change prefix to OH

Let's leave 3 letter prefixes to 3rd parties. file: [5ae1f17798] check-in: [afae3291bf] user: js, branch: trunk, size: 2429 [annotate] [blame] [check-ins using] [diff]

2024-06-02
23:51
Add HIDGameControllerMapping file: [e37811cd3f] check-in: [16aab59c3c] user: js, branch: trunk, size: 2438 [annotate] [blame] [check-ins using] [diff]
21:24
Renamed src/hid/OFGameController.h → src/hid/HIDGameController.h. Completely redesign and rewrite ObjFWHID

Right now only evdev is supported, support for others will be added back
later. file: [347fbd7215] check-in: [39639cd987] user: js, branch: trunk, size: 2632 [annotate] [blame] [check-ins using] [diff]

2024-05-20
21:48
OFGameController: Improve right stick emulation file: [3ca0d701fd] check-in: [8c81efc528] user: js, branch: trunk, size: 7300 [annotate] [blame] [check-ins using] [diff]
15:53
OFGameController: No symbols for custom buttons file: [db97df8138] check-in: [cb4c3d09f4] user: js, branch: gamecontroller, size: 7055 [annotate] [blame] [check-ins using] [diff]
15:48
OFGameController: Clean up buttons a bit

This also emulates a right analog stick using the C buttons on the N64
controller. file: [c213cd4864] check-in: [a0af8f40b8] user: js, branch: gamecontroller, size: 7535 [annotate] [blame] [check-ins using] [diff]

01:17
OFGameController: Add support for Wii file: [377e60382e] check-in: [918c9d077a] user: js, branch: gamecontroller, size: 8888 [annotate] [blame] [check-ins using] [diff]
2024-05-18
12:06
OFGameController: Map - to Select and + to Start file: [933ce242f6] check-in: [c28b5e5208] user: js, branch: gamecontroller, size: 9004 [annotate] [blame] [check-ins using] [diff]
2024-05-15
22:50
OFGameController: Use different subclasses file: [76e31b3ce8] check-in: [4ecdef7491] user: js, branch: gamecontroller, size: 9318 [annotate] [blame] [check-ins using] [diff]
20:21
Add insane workarounds for Stadia controller file: [e199114848] check-in: [ae7664ae48] user: js, branch: gamecontroller, size: 10620 [annotate] [blame] [check-ins using] [diff]
2024-05-14
20:41
OFGameController: Use more generic button names file: [f60cc4462d] check-in: [2c2412d3df] user: js, branch: gamecontroller, size: 10364 [annotate] [blame] [check-ins using] [diff]
2024-05-13
20:57
Renamed src/OFGameController.h → src/hid/OFGameController.h. Move OFGameController into subframework ObjFWHID file: [c7833087c0] check-in: [f5f12143ce] user: js, branch: gamecontroller, size: 10102 [annotate] [blame] [check-ins using] [diff]
2024-05-12
13:07
OFGameController: {vendor,product}ID on Windows file: [3db166d1a7] check-in: [8815b72dad] user: js, branch: gamecontroller, size: 9914 [annotate] [blame] [check-ins using] [diff]
2024-05-11
21:56
OFGameController: {north,south,west,east}Button file: [5a5c795ad8] check-in: [59b45e87d1] user: js, branch: gamecontroller, size: 9860 [annotate] [blame] [check-ins using] [diff]
10:19
OFGameController: Add quirks for Joycons file: [dd47275cc1] check-in: [1da303e600] user: js, branch: gamecontroller, size: 9140 [annotate] [blame] [check-ins using] [diff]
10:06
OFGameController: Report vendor ID and product ID file: [8e114313d9] check-in: [c0735ac803] user: js, branch: gamecontroller, size: 8595 [annotate] [blame] [check-ins using] [diff]
2024-05-10
12:58
OFGameController: Quirks for Mega Drive controller file: [92436c98c4] check-in: [899801a8b8] user: js, branch: gamecontroller, size: 8278 [annotate] [blame] [check-ins using] [diff]
00:27
OFGameController: Add support for Windows

As this is using XInput 1.3, only XInput-compatible devices are supported. file: [1c2cd608b4] check-in: [22f6f258d8] user: js, branch: gamecontroller, size: 8076 [annotate] [blame] [check-ins using] [diff]

2024-05-09
23:41
OFGameController: Retrieve state explicitly

This avoids retrieving it multiple times when reading multiple things. file: [6f8baafc94] check-in: [0f902d87eb] user: js, branch: gamecontroller, size: 7832 [annotate] [blame] [check-ins using] [diff]

19:46
OFGameController: Support for pressure sensitivity file: [62ce0aa0c9] check-in: [336ecd9bdc] user: js, branch: gamecontroller, size: 7462 [annotate] [blame] [check-ins using] [diff]
19:05
OFGameController: Add constants for buttons file: [174eaaf8eb] check-in: [f02049612e] user: js, branch: gamecontroller, size: 6980 [annotate] [blame] [check-ins using] [diff]
18:01
OFGameController: Add quirks for N64 controller file: [90ee305e31] check-in: [21c872dbb0] user: js, branch: gamecontroller, size: 2857 [annotate] [blame] [check-ins using] [diff]
17:39
OFGameController: Correctly scale axes on Linux file: [2448bc6ebe] check-in: [87fa51ae2e] user: js, branch: gamecontroller, size: 2824 [annotate] [blame] [check-ins using] [diff]
15:39
OFGameController: Change API for analog sticks file: [618d42f152] check-in: [5547016712] user: js, branch: gamecontroller, size: 2608 [annotate] [blame] [check-ins using] [diff]
12:57
OFGameController: Add support for Linux file: [64229ea449] check-in: [6f20cdbd5c] user: js, branch: gamecontroller, size: 2412 [annotate] [blame] [check-ins using] [diff]
2024-05-05
19:56
OFGameController: Rename axis to analog stick

This was just wrong, an analog stick has two axes. file: [542208ba0a] check-in: [498a91a2a4] user: js, branch: gamecontroller, size: 2203 [annotate] [blame] [check-ins using] [diff]

18:59
Added: Add OFGameController

Only supports Nintendo 3DS so far. file: [d675a51f7b] check-in: [a0f4283e81] user: js, branch: gamecontroller, size: 2155 [annotate] [blame] [check-ins using]