#import "IOSExternalTouchController.h"
#import "XBMCController.h"
-//dim the touchscreen after 10 secs without touch event
-const CGFloat touchScreenDimTimeoutSecs = 10.0;
+//dim the touchscreen after 15 secs without touch event
+const CGFloat touchScreenDimTimeoutSecs = 15.0;
const CGFloat timeFadeSecs = 2.0;
@interface IOSExternalTouchController ()
[self createGestureRecognizers];
[_internalWindow addSubview:[self view]];
+ [_internalWindow setBackgroundColor:[UIColor blackColor]];
[_internalWindow setScreen:[UIScreen mainScreen]];
[_internalWindow makeKeyAndVisible];
initWithTarget:self action:@selector(handleSwipeUp:)];
[swipeUp setNumberOfTouchesRequired:1];
[swipeUp setDirection:UISwipeGestureRecognizerDirectionUp];
- [[self view] addGestureRecognizer:swipeUp];
+ [[self view] addGestureRecognizer:swipeUp];
[swipeUp release];
//single finger swipe down for down