Commit Graph
18 Commits
Author SHA1 Message Date
Charles Srstka 2b1e67e6e9 Fix issue that caused some Bluetooth mice to break the input system 2016-07-17 13:31:58 -05:00
CharlesJS 7219af9005 Fixed a bug involving hat switch handling on external controllers 2016-04-28 03:26:23 -05:00
clobber 512837ccba Clean up useless code. 2015-12-23 18:29:11 +01:00
clobber e5193fe5eb Add support for some consumer keys that we know about. 2015-12-23 18:29:11 +01:00
clobber c404312732 Make the oebindings property list easier to read when opening it. 2015-12-23 02:12:53 +01:00
clobber 565527c931 Fix missing elements for generic desktop buttons. 2015-12-01 02:15:47 -06: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 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 391ff20dfd Clean up and implement NSSecureCoding so NSEvent for keyboard events can pass through XPC to the core 2015-11-22 02:40:19 -06:00
clobber 78324596d9 Generate NSEvent for keyboard events and add some convenience properties 2015-11-21 17:17:01 -06:00
clobber 46ebe6a419 Send a null-direction axis event if the direction of the newly dispatched event is the opposite of the previously dispatched event. 2014-02-08 13:32:00 -08:00
clobber 677aab2d7e Add a convenience method to know whether an event represent the escape key. 2013-09-14 02:01:12 -07:00
clobber dace87ce3d Remove unnecessary synthesizes. 2013-09-14 02:00:49 -07:00
Remy Demarest 11d32d68ec Add support for anagogic buttons on the emulator side and global buttons. 2013-06-16 18:06:49 -07:00
Remy Demarest aa192cfce4 Fill up the latestEvents table with off-state events for all the cookies we know about. 2013-04-15 00:09:44 -07:00
Remy Demarest 43da34cba1 Add sanity check for keyboard usages. 2013-04-14 12:57:22 -07:00
Remy Demarest 2abbdf6c3c Provide a more accurate parsing of all the elements in a given device. Correct various bugs. 2013-04-11 23:44:26 -07:00
Remy Demarest a0434761d7 Move OpenEmuSystem and OpenEmuBase frameworks into their own project. 2013-04-07 00:21:09 -07:00