Commit Graph

109 Commits

Author SHA1 Message Date
clobber 8645449ea3 Dispatch queue support 2016-07-24 17:37:34 -07:00
Charles Srstka 2b1e67e6e9 Fix issue that caused some Bluetooth mice to break the input system 2016-07-17 13:31:58 -05:00
CharlesJS a1ac2a5995 Probably better way to fix this 2016-05-25 16:58:22 -05:00
CharlesJS ec8182b391 Attempt at fixing a bug that was causing crashes with certain controllers 2016-05-25 16:57:11 -05:00
CharlesJS 7219af9005 Fixed a bug involving hat switch handling on external controllers 2016-04-28 03:26:23 -05:00
mrvacbob adc3a502f7 Remove one thread jump in the input path
Gotta go fast.
2016-03-20 21:57:17 -07: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 b7c58e2186 Change bindings folder path. 2015-12-23 10:01:29 -07:00
clobber 265dff1264 Whoops, GD elements are not buttons! 2015-12-23 11:31:33 +01:00
clobber c404312732 Make the oebindings property list easier to read when opening it. 2015-12-23 02:12:53 +01:00
clobber 9cd2d031a2 Fix kHIDUsage_GD_DPadUp, kHIDUsage_GD_DPadDown, kHIDUsage_GD_DPadLeft, kHIDUsage_GD_DPadRight, kHIDUsage_GD_Start, kHIDUsage_GD_Select parsing.
We separate kHIDPage_GenericDesktop and kHIDPage_Button to search for the elements, so we need to use a different array when touching the new usages that are not actually buttons.
2015-12-23 01:20:50 +01:00
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 565527c931 Fix missing elements for generic desktop buttons. 2015-12-01 02:15:47 -06: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 b7f8f68eb9 Fix key description. 2015-11-28 20:10:54 -08:00
clobber f4b40f7d63 Build fix. Use the new property on OESystemController to get the number of controls. 2015-11-28 19:26:19 -08:00
clobber eb765fcfab Stop implementing OESystemBindingsObserver, rename the protocol methods by removing the OESystemBindings argument. This class will receive updates from OpenEmuHelperApp instead on the emulator process side. 2015-11-28 18:42:01 -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 ac33544f0d Add OEBindingDescription superclass for OEKeyBindingDescription and OEKeyBindingGroupDescription. Move OEBindingDescription creation to OESystemController from OESystemBindings. Add OESystemController as a property of OEBindingDescription so that it can be encoded along with an identifier and recovered in a background process. 2015-11-28 17:35:26 -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
mrvacbob 0c189d422b Merge pull request #9 from giggle-engineer/master
WIP rumble support added to OEHIDDeviceHandler
2015-10-24 00:51:57 -07:00
Chloe Stars 4fc6c5392f WIP rumble support added to OEHIDDeviceHandler 2015-10-24 00:49:35 -07:00
Alexander Strange da34753f16 Update projects - fix debug builds, make deployment 10.11, enable objc-arc properly, build faster 2015-10-17 13:04:19 -07:00
clobber af8a726282 Fix exception when device has no Product string. Fixes OpenEmu/OpenEmu#1966, Fixes OpenEmu/OpenEmu#2074 2015-10-05 21:53:51 -05:00
clobber 01c2b2ff61 Fix deprecation warnings 2015-09-09 21:46:37 -05:00
Christoph Leimbrock c86e4d5561 Add -supportsDiscs to system controller. 2015-08-15 09:38:09 +02: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 1fba3c5708 Set minimum supported OS X version to 10.9 2015-06-08 14:13:59 -05:00
clobber 5460539f53 Add right mouse button actions to system responder 2015-04-17 22:52:32 -05:00
clobber 2bd7a1365e Add CloneCD ccd/img/sub handling method 2015-03-26 12:11:00 -05:00
clobber bd8271d62f Disallow import of broken cue sheets
Shouldn't use unless we repair the files at import, otherwise the emulators won't boot these anyway
2015-03-25 15:19:13 -05:00
Christoph Leimbrock 61dd8e0b1b Fix virtual key codes. (Num 2, 3 and 4 showed up as Num 1). Fixes #1482. 2015-03-01 19:04:24 +01:00
Christoph Leimbrock 4ed2bfdb47 Add global button to stop emulation (Fixes #1796). 2015-03-01 18:30:09 +01:00
Christoph Leimbrock 591375ed48 Remove comments from .strings files 2015-02-28 22:09:57 +01:00
Kyle Lacy 7663a67373 Add rewind button as a global key 2015-02-16 10:54:27 -08:00
Kyle Lacy 38f2016cac Mark rewind button as non-analog 2015-02-16 10:52:06 -08:00
Christoph Leimbrock 7337576274 Fix warning in OEControlDescription and replace a FIXME warning with FIXME comment. 2015-02-15 13:55:04 +01:00
Christoph Leimbrock 41bfcf3edd Remove unused & deprecated OEBasicSystemResponder 2015-01-16 14:33:34 +01:00
Christoph Leimbrock 632183a449 Add some documentation to OECUESheet. (I'm playing around with doxygen). 2015-01-16 14:32:54 +01:00
clobber 4415e6bc72 Hopefully fixes the issues with using multiple identical controllers. #585 2014-07-12 20:30:16 -05:00
Christoph Leimbrock 30aa889db0 Add initial localisation files for control setup labels 2014-07-08 17:28:23 +02:00
clobber f27054827f Support checking Bluetooth power state 2014-06-13 16:39:11 -05:00
Christoph Leimbrock 905aca81b9 Fix a warning in OESystemBindings and add logs so we can trace if this issue is happening 2014-06-02 14:33:11 +02:00
clobber ab1c700833 Support reading OEGameCoreOptions from cores 2014-05-27 01:39:30 -05:00
clobber fb8ca521a2 Corrects an issue where in-game input would still respond to old binds after changing them in Control Prefs 2014-05-26 21:00:02 -05:00
Christoph Leimbrock 16450673bc Add -referencedFileNames to OECUESheet. 2014-05-26 21:09:58 +02:00