mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-16 21:50:57 +00:00
Rewrote the Controller class in Swift (#216)
* Enabled Defines Modules for swift code * Created bridge header, created swift Controller - Created Controller.swift - Created bridge header for use of objc in swift * Finished porting Controller files to swift * Added comments, created MoonlightUnitTest - Added comments for Controller.swift - Created MoonlightUnitTest for testing new class * Started writing tests for ControllerUnitTests - General formatting - Wrote helper functions - Wrote tests for first four properties * Finished writing Controller tests * Removed commented out lines
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
//
|
||||
// Controller.m
|
||||
// Moonlight
|
||||
//
|
||||
// Created by Diego Waxemberg on 2/1/15.
|
||||
// Copyright (c) 2015 Moonlight Stream. All rights reserved.
|
||||
//
|
||||
|
||||
#import "Controller.h"
|
||||
|
||||
@implementation Controller
|
||||
@synthesize playerIndex;
|
||||
@synthesize lastButtonFlags, emulatingButtonFlags, lastLeftTrigger, lastRightTrigger;
|
||||
@synthesize lastLeftStickX, lastLeftStickY, lastRightStickX, lastRightStickY;
|
||||
@end
|
||||
Reference in New Issue
Block a user