summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/OSX
AgeCommit message (Collapse)Author
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
2014-02-09ForceFeedback: Add OSX rumble supportJules Blok
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre