summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/OSX
AgeCommit message (Collapse)Author
2023-04-07InputCommon: Remove OSX (IOKit) input backendOatmealDome
2022-07-25StripSpaces: only strip spacesShawn Hoffman
StripWhitespace maintains old behavior
2021-12-10Treewide: Adjust order of includesPokechu22
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-06-07ControllerInterface: Remove OSX window handleFiloppi
also make it more thread safe (avoid rare deadlock) and fix it trying to add devices before the CI has init
2021-05-05InputCommon: replace SerialInterface log with ControllerInterfaceFiloppi
where appropriate. SerialInterface was a leftover from the past, and makes no sense to be used on actual/real controllers.
2021-01-27rename InputCommon/ControllerInterface/Device to CoreDeviceShawn Hoffman
2020-10-23InputCommon: Migrate logging over to fmtLioncash
Continues the migration of the logging calls over to the fmt capable ones.
2019-07-23StringUtil: Use std::string_view moreJosJuice
2019-06-17InputCommon: Use nested namespace specifiers where applicableLioncash
2019-05-06Reformat repo to clang-format 7.0 rulesTechjar
2019-03-22InputCommon/OSX: Refactor IOKit controller interfacespycrab
2018-12-24ControllerInterface: DInput: Update force feedback effects in a thread. This ↵Jordan Woyak
should prevent slowdowns experienced by a handful of users.
2017-11-10ControllerInterface: invoke callbacks in AddDevice/RemoveDeviceMichael M
Some backends already cause this to happen, so make it consistent across systems.
2017-09-15Prevent multiple HID elements of same usage type on OSXArthur Carlsson
On OSX, iterate the HID device's elements and only store the last of each type to accommodate for flaky hardware
2017-08-24Implement GamePAd and MultiAxisController detectionNick
2017-08-23formatting cleanupNick
2017-08-22keyboard fixes v2Nick
2017-08-21Depreciate old OSX Keyboard and MouseNick
2017-08-01Fix axis not working with Switch Pro controller on macOSJocelyn Turcotte
Each axis would appear as multiple elements with 0 min/max. Filter the list of elements using the correct usage page like done for buttons.
2017-04-15Add headless support on macOSMichael Maltese
2016-12-01Merge pull request #4362 from ligfx/osxhotplugAnthony
ControllerInterface: enable hotplugging on macOS
2016-11-30ControllerInterface: enable hotplugging on macOSMichael Maltese
2016-11-30ControllerInterface: replace Reinitialize with RefreshDevicesMichael Maltese
The SDL backend crashes when you close a joystick after SDL_Quit has been called. Some backends don't need to be shutdown and re-initialized everytime, we can just ask to enumerate devices again.
2016-10-31Merge pull request #4405 from xrix4096/mac-unknown-joyaxisMarkus Wick
Make analog triggers on PS3 controllers accessible on Mac
2016-10-30Use the IOHIDElement cookie as a part of the axis name for unknown axis. ↵Chris Pritchard
Previously the 'usage' value was used to identify the axis by name, but this is not unique. For example on a PS3 controller *all* axis other than the well known ones return a usage of '1' so there are 30 or more axis all named "1". This stops things such as analog triggers being usable. Using the element cookie uniquely identifies each axis and allows them to be assigned successfully as controls
2016-10-24Fix various comment typosSintendo
2016-07-14ControllerInterface: Make the ID assigning code commonLéo Lam
This makes the device ID assigning code common to all backends, by moving it to AddDevice() instead of copy-pasting or replicating the logic in the backends. Also, to prepare for hotplugging, instead of relying on a name usage count, the new ID assigning system always starts from ID 0 and tries to assign the first ID that is not used.
2016-07-12Strip whitespace from Evdev and OSX controller names.Scott Mansell
2016-06-25ControllerInterface: Switch to std::shared_ptrLéo Lam
Small cleanup by using std::shared_ptr and getting rid of ciface.Devices() which just returned the m_devices (which defeats the point of making m_devices protected). Incidentally, this should make the code safer when we have different threads accessing devices in the future (for hotplug?). A lot of code use Device references directly so there is no easy way to remove FindDevice() and make those unique_ptrs.
2016-06-25ControllerInterface: Don't pass m_devices to the backendsLéo Lam
Previously, the devices vector would be passed to all backends. They would then manually push_back to it to add new devices. This was fine but caused issues when trying to add synchronisation. Instead, backends now call AddDevice() to fill m_devices so that it is not accessible from the outside.
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-02-05normalize and check upper/lower bounds of hats input on OS XNick Tiberi
2015-10-02InputCommon: Use NSNumber numeric literals in Obj-C codeLioncash
2015-09-17ControllerInterface: Fix -Winconsistent-missing-override warnings on OSXLioncash
2015-06-21Fix misc. clang warnings - mostly complaints about inconsistent use of override.comex
Previously, MacOpenFile only overrode anything on OS X; otherwise it was just a useless method, which is presumably why it wasn't marked override in the first place. Address this more sanely by wrapping it in #ifdef __APPLE__.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2014-11-28ControllerInterface: Make UpdateInput / UpdateOutput return voidJasper St. Pierre
The return values here have never been checked, so it doesn't make sense to return a value to begin with.
2014-11-28ControllerInterface: Implement dummy UpdateInput / UpdateOutputsJasper St. Pierre
Make the implementation here a bit easier.
2014-10-28Make some OSX-only functions staticLioncash
Gets rid of function prototype warnings.
2014-09-14Kill off the wx casts within InputCommon and GLInterface.Lioncash
All because someone didn't actually return the wxWindow handle for the edge case.
2014-09-13InputCommon: Initialize NSDictionaries using literal syntax.Lioncash
2014-09-03Change ControlState typedef to double, and change all related floats/doubles ↵Rachel Bryk
to use it. Fixes an off by 1 issue related to double->float->double conversion, and eliminates numerous warnings.
2014-08-30InputCommon: Clean up brace placementsLioncash
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2014-02-16Fix some vertical alignmentsLioncash
ie. uses spaces for alignment.
2014-02-10Replace all include guard ifdefs with "#pragma once"lioncash