Differences From Artifact [5ae1f17798]:
- File
src/hid/OHGameController.h
— part of check-in
[afae3291bf]
at
2024-06-03 19:39:51
on branch trunk
— ObjFWHID: Change prefix to OH
Let's leave 3 letter prefixes to 3rd parties. (user: js, size: 2429) [annotate] [blame] [check-ins using]
To Artifact [f4bfdcdd03]:
- File src/hid/OHGameController.h — part of check-in [f333689336] at 2024-06-03 19:45:53 on branch trunk — Rename OHGameController{Mapping -> Profile} (user: js, size: 2464) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
29 30 31 32 33 34 35 | # endif #endif OF_ASSUME_NONNULL_BEGIN @class OFArray OF_GENERIC(ObjectType); @class OFNumber; | | > > > > | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | # endif #endif OF_ASSUME_NONNULL_BEGIN @class OFArray OF_GENERIC(ObjectType); @class OFNumber; @class OHGameControllerProfile; /** * @class OHGameController OHGameController.h ObjFWHID/OHGameController.h * * @brief A class for reading state from a game controller. */ @interface OHGameController: OFObject { OF_RESERVE_IVARS(OHGameController, 4) } #ifdef OF_HAVE_CLASS_PROPERTIES @property (class, readonly, nonatomic) OFArray <OHGameController *> *controllers; #endif /** * @brief The name of the controller. |
︙ | ︙ | |||
58 59 60 61 62 63 64 | /** * @brief The product ID of the controller or `nil` if unavailable. */ @property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFNumber *productID; /** | | | | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /** * @brief The product ID of the controller or `nil` if unavailable. */ @property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFNumber *productID; /** * @brief The raw profile for the game controller, meaning no remapping is * being performed. */ @property (readonly, nonatomic) OHGameControllerProfile *rawProfile; /** * @brief Returns the available controllers. * * @return The available controllers */ + (OFArray OF_GENERIC(OHGameController *) *)controllers; |
︙ | ︙ |