clobber
132a27b684
Prevent devices that do not have a location ID from being opened or registered since we can't identify them across processes making them unusable with the new input implementation.
2015-12-02 00:44:37 -08:00
clobber
431195e021
Annotate binding and device classes.
2015-11-29 14:05:18 -08:00
clobber
379ee66b5a
Fix issue with plugging/unplugging controllers while a game is running.
...
There are two issues in this case:
1. XPC messages are processed in a private queue making OEDeviceManager calls unsafe when retrieving device handlers. We solve this problem by making thread safe operations.
2. Sometimes we may receive binding updates on the emulator process before the process has had the time to recognize a device that is connected. This is solved by using placeholder device objects that we replace with real devices in OEHIDEvent when the device is finally parsed. This is possible because if a device is added to the UI process it will be added to the emulator process eventually.
2015-11-29 02:15:22 -08:00
clobber
7958b82a50
Add convenience method to know when global event handlers are present in OEDeviceManager.
2015-11-28 18:40:24 -08:00
clobber
3836c5bf82
Add a unique identifier to OEDeviceHandler. This allows multiple processes to uniquely identify a device across processes, later on OEDeviceHandler will be sent over XPC so we can move event handling in the emulator process instead.
2015-11-28 16:28:28 -08:00
clobber
9450c8a16d
Revert "Create an unsafe_unretained NSHashTable when weakObjectsHashTable isn't available on the system."
...
This reverts commit 5ed5c79f0c .
2015-08-11 01:56:54 -05:00
clobber
f27054827f
Support checking Bluetooth power state
2014-06-13 16:39:11 -05:00
clobber
ab9ed02c64
Code clean up.
2013-12-29 03:30:34 +01:00
clobber
3283cdfa92
Removed some device logging
2013-12-22 20:06:58 -06:00
clobber
5ed5c79f0c
Create an unsafe_unretained NSHashTable when weakObjectsHashTable isn't available on the system.
2013-09-11 23:20:24 -07:00
Remy Demarest
0551f2a83d
Dispatch events directly from the source rather than through the responder chain.
2013-09-01 23:55:03 -07:00
Remy Demarest
93e9af2a84
Add enumeration method that enumerate ALL devices using a block, and use it in -OE_hasDeviceHandlerForDeviceRef:.
2013-08-13 21:53:34 -07:00
Remy Demarest
a0434761d7
Move OpenEmuSystem and OpenEmuBase frameworks into their own project.
2013-04-07 00:21:09 -07:00