ObjFW  History of src/hid/OHGameController.m of 6bb25d33ac3e19eb

History of file src/hid/OHGameController.m at check-in 6bb25d33ac3e19eb

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

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

2024-10-22
22:29
-[OHGameController {retrieve -> update}State] file: [12f0e8227c] check-in: [23e3ffff7a] user: js, branch: trunk, size: 3135 [annotate] [blame] [check-ins using] [diff]
2024-06-17
00:37
ObjFWHID: Make profiles implementation independent file: [84aa11a3e7] check-in: [ddaa4f35d0] user: js, branch: trunk, size: 3137 [annotate] [blame] [check-ins using] [diff]
2024-06-09
23:24
ObjFWHID: Add support for Nintendo Switch file: [f031e78d5e] check-in: [e01b5123f1] user: js, branch: trunk, size: 3140 [annotate] [blame] [check-ins using] [diff]
16:36
ObjFWHID: Restore support for Wii file: [9eedd672bc] check-in: [6e64dd58cb] user: js, branch: trunk, size: 2975 [annotate] [blame] [check-ins using] [diff]
15:12
ObjFWHID: Make OHGameControllerProfile a protocol file: [386bef4691] check-in: [8be13b6bc6] user: js, branch: trunk, size: 2856 [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: [3129705f22] check-in: [998339ff24] user: js, branch: trunk, size: 2850 [annotate] [blame] [check-ins using] [diff]

09:53
OHEvdevGameController: Buttons for N64 controller file: [65e834b561] check-in: [f5e3072b7e] user: js, branch: trunk, size: 2815 [annotate] [blame] [check-ins using] [diff]
02:13
OHEvdevGameController: Add button map for Joy-Cons file: [1bbd2ab193] check-in: [081c229439] user: js, branch: trunk, size: 2765 [annotate] [blame] [check-ins using] [diff]
01:59
ObjFWHID: Add support for Stadia controller file: [7219963e3b] check-in: [67c7e7c8ae] user: js, branch: trunk, size: 2626 [annotate] [blame] [check-ins using] [diff]
01:34
ObjFWHID: Add support for DualShock 4 via evdev file: [f186a4854f] check-in: [5fe4c8c1bf] user: js, branch: trunk, size: 2531 [annotate] [blame] [check-ins using] [diff]
2024-06-08
22:40
ObjFWHID: Add support for DualSense via evdev file: [cbf85ef3d3] check-in: [3d8deae83e] user: js, branch: trunk, size: 2484 [annotate] [blame] [check-ins using] [diff]
21:25
ObjFWHID: Restore Nintendo DS support file: [5de26d2df5] check-in: [6a6c86237d] user: js, branch: trunk, size: 2397 [annotate] [blame] [check-ins using] [diff]
20:21
ObjFWHID: Restore Nintendo 3DS support file: [1e979f93f1] check-in: [663320ba4d] user: js, branch: trunk, size: 2248 [annotate] [blame] [check-ins using] [diff]
19:18
ObjFWHID: Restore XInput support file: [501a6c45ed] check-in: [5f0cc05894] user: js, branch: trunk, size: 2095 [annotate] [blame] [check-ins using] [diff]
2024-06-04
23:51
Add OHGamepad file: [48b11dd8fc] check-in: [c45b04b1f8] user: js, branch: trunk, size: 1963 [annotate] [blame] [check-ins using] [diff]
2024-06-03
19:53
Compile OHEvdevGameController separately file: [350c5f09f7] check-in: [82da883fa6] user: js, branch: trunk, size: 1900 [annotate] [blame] [check-ins using] [diff]
19:45
Rename OHGameController{Mapping -> Profile} file: [981f445f69] check-in: [f333689336] user: js, branch: trunk, size: 1992 [annotate] [blame] [check-ins using] [diff]
19:39
Renamed src/hid/HIDGameController.m → src/hid/OHGameController.m. ObjFWHID: Change prefix to OH

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

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

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

2024-05-20
15:53
OFGameController: No symbols for custom buttons file: [49ccebbc34] check-in: [cb4c3d09f4] user: js, branch: gamecontroller, size: 4420 [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: [4c858784ed] check-in: [a0af8f40b8] user: js, branch: gamecontroller, size: 4623 [annotate] [blame] [check-ins using] [diff]

01:17
OFGameController: Add support for Wii file: [6850544fb5] check-in: [918c9d077a] user: js, branch: gamecontroller, size: 5295 [annotate] [blame] [check-ins using] [diff]
2024-05-18
12:06
OFGameController: Map - to Select and + to Start file: [70e6c920ca] check-in: [c28b5e5208] user: js, branch: gamecontroller, size: 5187 [annotate] [blame] [check-ins using] [diff]
11:37
OFGameController: More code reuse file: [d96cd2e808] check-in: [764fe0bac3] user: js, branch: gamecontroller, size: 5316 [annotate] [blame] [check-ins using] [diff]
2024-05-15
22:50
OFGameController: Use different subclasses file: [c04fc09244] check-in: [4ecdef7491] user: js, branch: gamecontroller, size: 4894 [annotate] [blame] [check-ins using] [diff]
20:21
Add insane workarounds for Stadia controller file: [680cfba800] check-in: [ae7664ae48] user: js, branch: gamecontroller, size: 4088 [annotate] [blame] [check-ins using] [diff]
2024-05-14
20:41
OFGameController: Use more generic button names file: [7d1cdb7cca] check-in: [2c2412d3df] user: js, branch: gamecontroller, size: 4011 [annotate] [blame] [check-ins using] [diff]
2024-05-13
20:57
Renamed src/OFGameController.m → src/hid/OFGameController.m. Move OFGameController into subframework ObjFWHID file: [c4bdc74964] check-in: [f5f12143ce] user: js, branch: gamecontroller, size: 3694 [annotate] [blame] [check-ins using] [diff]
2024-05-11
21:56
OFGameController: {north,south,west,east}Button file: [c4bdc74964] check-in: [59b45e87d1] user: js, branch: gamecontroller, size: 3694 [annotate] [blame] [check-ins using] [diff]
10:19
OFGameController: Add quirks for Joycons file: [31e4b70394] check-in: [1da303e600] user: js, branch: gamecontroller, size: 3635 [annotate] [blame] [check-ins using] [diff]
10:06
OFGameController: Report vendor ID and product ID file: [0e2f40500d] check-in: [c0735ac803] user: js, branch: gamecontroller, size: 3380 [annotate] [blame] [check-ins using] [diff]
2024-05-10
12:58
OFGameController: Quirks for Mega Drive controller file: [1fb5242392] check-in: [899801a8b8] user: js, branch: gamecontroller, size: 3297 [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: [55650ba23c] check-in: [22f6f258d8] user: js, branch: gamecontroller, size: 3230 [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: [9e4bb86304] check-in: [0f902d87eb] user: js, branch: gamecontroller, size: 3191 [annotate] [blame] [check-ins using] [diff]

19:46
OFGameController: Support for pressure sensitivity file: [c9aa070e37] check-in: [336ecd9bdc] user: js, branch: gamecontroller, size: 3164 [annotate] [blame] [check-ins using] [diff]
19:05
OFGameController: Add constants for buttons file: [b3fdaf3904] check-in: [f02049612e] user: js, branch: gamecontroller, size: 3089 [annotate] [blame] [check-ins using] [diff]
15:39
OFGameController: Change API for analog sticks file: [07bd6ec7f8] check-in: [5547016712] user: js, branch: gamecontroller, size: 1424 [annotate] [blame] [check-ins using] [diff]
13:10
OFGameController: Add missing import file: [aa9bbd9994] check-in: [c5b37a9dd8] user: js, branch: gamecontroller, size: 1428 [annotate] [blame] [check-ins using] [diff]
12:57
OFGameController: Add support for Linux file: [f307cfd03f] check-in: [6f20cdbd5c] user: js, branch: gamecontroller, size: 1408 [annotate] [blame] [check-ins using] [diff]
2024-05-05
23:07
OFGameController: Fix typos file: [8a9752888e] check-in: [3ef11175bc] user: js, branch: gamecontroller, size: 1366 [annotate] [blame] [check-ins using] [diff]
19:56
OFGameController: Rename axis to analog stick

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

19:22
OFGameController: Add support for Nintendo DS file: [fafb3475e1] check-in: [a7a6705d90] user: js, branch: gamecontroller, size: 1350 [annotate] [blame] [check-ins using] [diff]
18:59
Added: Add OFGameController

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