added support for multiple controllers

This commit is contained in:
Diego Waxemberg committed 2015-02-02 02:42:38 -05:00
1 parent 1313429f65
commit 93119f25a6
8 files changed
+237 -165

No files matched your search

+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