14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
*
* You should have received a copy of the GNU Lesser General Public License
* version 3.0 along with this program. If not, see
* <https://www.gnu.org/licenses/>.
*/
#import "OHExtendedGamepad.h"
#if defined(OF_LINUX) && defined(OF_HAVE_FILES)
# import "OHEvdevGameController.h"
#endif
OF_ASSUME_NONNULL_BEGIN
/**
* @class OHDualSenseGamepad OHDualSenseGamepad.h ObjFWHID/ObjFWHID.h
*
* @brief A Sony DualSense gamepad.
*/
@interface OHDualSenseGamepad: OFObject <OHExtendedGamepad
#if defined(OF_LINUX) && defined(OF_HAVE_FILES)
, OHEvdevMapping
#endif
>
{
OFDictionary OF_GENERIC(OFString *, OHGameControllerButton *) *_buttons;
OFDictionary OF_GENERIC(OFString *, OHGameControllerDirectionalPad *)
*_directionalPads;
}
@end
|
<
<
<
|
<
<
<
<
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
*
* You should have received a copy of the GNU Lesser General Public License
* version 3.0 along with this program. If not, see
* <https://www.gnu.org/licenses/>.
*/
#import "OHExtendedGamepad.h"
OF_ASSUME_NONNULL_BEGIN
/**
* @class OHDualSenseGamepad OHDualSenseGamepad.h ObjFWHID/ObjFWHID.h
*
* @brief A Sony DualSense gamepad.
*/
@interface OHDualSenseGamepad: OFObject <OHExtendedGamepad>
{
OFDictionary OF_GENERIC(OFString *, OHGameControllerButton *) *_buttons;
OFDictionary OF_GENERIC(OFString *, OHGameControllerDirectionalPad *)
*_directionalPads;
}
@end
|