Commit Graph
9 Commits
Author SHA1 Message Date
Daniele Cattaneo 69a528a911 Fix a rare crash that could happen when quitting OpenEmu while a Switch Pro Controller is connected. 2019-12-13 23:00:38 +01:00
clobber e67bd42d09 Mayflash GameCube 2 port USB adapter declares two devices that look exactly the same with the same LocationID, the only thing that differentiates them is there kUSBInterfaceNumber. Use that in the -uniqueIdentifier which is what we use to differentiate devices to assign bindings. This patch also moves the hack to differentiate devices that do not have a LocationID from -locationID to -uniqueIdentifier where we also cache the identifier instead of regenerating it every time the method is called. 2019-12-10 23:29:58 -08:00
Daniele Cattaneo 78fb591775 Add support for handling HID reports on a different thread. 2019-09-13 20:06:33 +02:00
Daniele Cattaneo 75d11f2436 Slight refactoring of -OE_deviceHandlerClassForIOHIDDevice: (and removal of unused functions) 2019-08-31 00:05:24 +02:00
clobber 835ac771f6 Keep track of the Function (Fn) key state and also allow it to be bound.
This can be used for computer system plugins as a way to ignore system media key presses, so that F1-F12 keys may only register if Fn is pressed. The downside is this does not respect OS keyboard preferences if a user has changed the default settings, but seems to be the best we can do without relying on CGEventTap to track events which will require accessibility access. Attempted app-side workarounds by overriding sendEvent: or checking NSApp.currentEvent to block NSSystemDefined type NSEvent's proved to be useless due to syncing.
2018-10-07 17:44:06 -05:00
clobber 512837ccba Clean up useless code. 2015-12-23 18:29:11 +01:00
clobber 431195e021 Annotate binding and device classes. 2015-11-29 14:05:18 -08:00
Chloe Stars 4fc6c5392f WIP rumble support added to OEHIDDeviceHandler 2015-10-24 00:49:35 -07:00
Remy Demarest a0434761d7 Move OpenEmuSystem and OpenEmuBase frameworks into their own project. 2013-04-07 00:21:09 -07:00