2015-02-02 02:42:38 -05:00
|
|
|
//
|
|
|
|
|
// Controller.h
|
2015-05-12 21:48:30 -04:00
|
|
|
// Moonlight
|
2015-02-02 02:42:38 -05:00
|
|
|
//
|
|
|
|
|
// Created by Diego Waxemberg on 2/1/15.
|
2015-05-12 21:48:30 -04:00
|
|
|
// Copyright (c) 2015 Moonlight Stream. All rights reserved.
|
2015-02-02 02:42:38 -05:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
|
|
@interface Controller : NSObject
|
|
|
|
|
|
|
|
|
|
@property (nonatomic) int playerIndex;
|
|
|
|
|
@property (nonatomic) int lastButtonFlags;
|
2015-02-10 15:48:01 -05:00
|
|
|
@property (nonatomic) int emulatingButtonFlags;
|
2015-02-02 02:42:38 -05:00
|
|
|
@property (nonatomic) char lastLeftTrigger;
|
|
|
|
|
@property (nonatomic) char lastRightTrigger;
|
|
|
|
|
@property (nonatomic) short lastLeftStickX;
|
|
|
|
|
@property (nonatomic) short lastLeftStickY;
|
|
|
|
|
@property (nonatomic) short lastRightStickX;
|
|
|
|
|
@property (nonatomic) short lastRightStickY;
|
|
|
|
|
|
|
|
|
|
@end
|