blob: c699ba17ebf89df639b94ce0d2f78e173c4dff96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
44
45
46
47
48
|
// SDLSoftButtonCapabilities.h
//
#import "SDLRPCMessage.h"
/**
* Contains information about a SoftButton's capabilities.
*
* @since SDL 2.0
*/
@interface SDLSoftButtonCapabilities : SDLRPCStruct
/**
* @abstract The button supports a short press.
*
* @discussion Whenever the button is pressed short, onButtonPressed(SHORT) will be invoked.
*
* Required, Boolean
*/
@property (strong) NSNumber *shortPressAvailable;
/**
* @abstract The button supports a LONG press.
*
* @discussion Whenever the button is pressed long, onButtonPressed(LONG) will be invoked.
*
* Required, Boolean
*/
@property (strong) NSNumber *longPressAvailable;
/**
* @abstract The button supports "button down" and "button up".
*
* @discussion Whenever the button is pressed, onButtonEvent(DOWN) will be invoked. Whenever the button is released, onButtonEvent(UP) will be invoked.
*
* Required, Boolean
*/
@property (strong) NSNumber *upDownAvailable;
/**
* @abstract The button supports referencing a static or dynamic image.
*
* Required, Boolean
*/
@property (strong) NSNumber *imageSupported;
@end
|