17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
* <https://www.gnu.org/licenses/>.
*/
#import "OHExtendedGamepad.h"
OF_ASSUME_NONNULL_BEGIN
@interface OHXInputExtendedGamepad: OFObject <OHExtendedGamepad>
{
OFDictionary OF_GENERIC(OFString *, OHGameControllerButton *) *_buttons;
OFDictionary OF_GENERIC(OFString *, OHGameControllerDirectionalPad *)
*_directionalPads;
}
@end
OF_ASSUME_NONNULL_END
|
|
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
* <https://www.gnu.org/licenses/>.
*/
#import "OHExtendedGamepad.h"
OF_ASSUME_NONNULL_BEGIN
@interface OHXbox360Gamepad: OFObject <OHExtendedGamepad>
{
OFDictionary OF_GENERIC(OFString *, OHGameControllerButton *) *_buttons;
OFDictionary OF_GENERIC(OFString *, OHGameControllerDirectionalPad *)
*_directionalPads;
}
- (instancetype)initWithHasGuideButton: (bool)hasGuideButton;
@end
OF_ASSUME_NONNULL_END
|