ObjFW  Diff

Differences From Artifact [64b22e0918]:

To Artifact [558ba95814]:


15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * 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/>.
 */

#include "config.h"

#import "HIDGameControllerButton.h"

@implementation HIDGameControllerButton
@synthesize value = _value;

- (bool)isPressed
{
	return (_value > 0);
}








|

|







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 * 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/>.
 */

#include "config.h"

#import "OHGameControllerButton.h"

@implementation OHGameControllerButton
@synthesize value = _value;

- (bool)isPressed
{
	return (_value > 0);
}