Differences From Artifact [f3d0e406e6]:
- File
src/hid/HIDGameController.m
— part of check-in
[39639cd987]
at
2024-06-02 21:24:25
on branch trunk
— Completely redesign and rewrite ObjFWHID
Right now only evdev is supported, support for others will be added back
later. (user: js, size: 2002) [annotate] [blame] [check-ins using]
To Artifact [1e275c1bfa]:
- File src/hid/HIDGameController.m — part of check-in [16aab59c3c] at 2024-06-02 23:51:01 on branch trunk — Add HIDGameControllerMapping (user: js, size: 2004) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | #import "OFSet.h" #if defined(OF_LINUX) && defined(OF_HAVE_FILES) # include "HIDEvdevGameController.h" #endif @implementation HIDGameController | | | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #import "OFSet.h" #if defined(OF_LINUX) && defined(OF_HAVE_FILES) # include "HIDEvdevGameController.h" #endif @implementation HIDGameController @dynamic name, unmappedMapping; + (OFArray OF_GENERIC(HIDGameController *) *)controllers { #if defined(OF_LINUX) && defined(OF_HAVE_FILES) return [HIDEvdevGameController controllers]; #else return [OFArray array]; |
︙ | ︙ |