-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for Bluetooth Keyboard under IOS9.
Support for Bluetooth Keyboard under IOS9. Bluetooth keyboard support now working through “handleKeyUIEvent” as opposed to “sendEvent” which no longer works. The code indicates it was working for IOS7, but literature on the internet states apple moved from sendEvent to hanldeKeyUIEvent as of IOS7. All the GSEvent offsets have changed, I improved the code through using NSInteger. As a result, I am not sure if I broke 32bit compilation (due to offset differences with 64bit type). I am also not sure of the specific offsets for IOS8 (sorry, don’t have a device to test on). I suspect apple didn’t actually drastically change the offsets of the GSEvent data structure, only some of the GSEvent internal types changed to 64bit. Disclaimer - green wrt IOS ;)
- Loading branch information
David Thornley
committed
Nov 8, 2015
1 parent
98bd3b3
commit 369b82d
Showing
2 changed files
with
50 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,6 @@ | |
|
||
@interface DosPadUIApplication : UIApplication | ||
{ | ||
int lastEventFlags; | ||
NSInteger lastEventFlags; | ||
} | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters