added support for multiple controllers

This commit is contained in:
Diego Waxemberg
2015-02-02 02:42:38 -05:00
parent 1313429f65
commit 93119f25a6
8 changed files with 237 additions and 165 deletions
+22
View File
@@ -0,0 +1,22 @@
//
// Controller.h
// Limelight
//
// Created by Diego Waxemberg on 2/1/15.
// Copyright (c) 2015 Limelight Stream. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Controller : NSObject
@property (nonatomic) int playerIndex;
@property (nonatomic) int lastButtonFlags;
@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