summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
AgeCommit message (Collapse)Author
2016-06-22analytics: Collect less data about controllers.Scott Mansell
The name field can contain personal information, particularly in the case of bluetooth devices on OSX which get configured with the user's full name.
2016-05-19Merge pull request #3805 from mathieui/gcadapter-unplug-crashMarkus Wick
GCAdapter: improve thread safety
2016-05-19GCAdapter: protect some more functionsmathieui
Reset() and Setup() are not used outside of this namespace
2016-05-18GCAdapter: improve thread safetymathieui
make sure Reset() can’t be run concurrently with AddGCAdapter() or ResetRumble() (which is called on other threads) which can cause crashes (issue #9462)
2016-05-12Disable part of the adapter features for netplaymathieui
In order to avoid desyncs
2016-04-23XInput: Apply Rumble/Motor output only on changes (again)mimimi085181
Disclaimer: I can't test if this works on xbox one controllers, i don't have one. But i have conformed that this UpdateMotors() is related to rumble for emulated wiimotes. This partially reverts commit "XInput: Apply immediately as well" (1958a10b6f5ba8348268b077f6410dadb2a20c8f) from pr # https://github.com/dolphin-emu/dolphin/pull/1560 Hopefully this fixes the xbox one controller rumble issue: https://bugs.dolphin-emu.org/issues/9071 And in theory it might reduce the used usb bandwidth, as it was originally intended before pr 1560. @JMC47: Please do a good amount of testing, to see if this breaks rumble for wiimotes or gamecube controllers emulated with xinput devices.
2016-02-13Improve stability of the Wii U Gamecube Controller adapter under Android.Ryan Houdek
Under failure conditions of the GC Adapter, When interface count is zero and we can't open the device. Then there were race conditions on shutdown of the threads which could result in crashing. Make adapter opening more robust like the Mayflash DolphinBar. Make shutdown more robust by making the read thread control the write thread. Make sure that there is actual data to be written when kicking the write thread. So it doesn't attempt a write a shutdown. Make a toast on screen to tell the user that the adapter needs to be unplugged and plugged back in again for it to work.
2016-02-06Merge pull request #3595 from Sonicadvance1/Android_headlessRyan Houdek
[Android] Headless support
2016-02-05normalize and check upper/lower bounds of hats input on OS XNick Tiberi
2016-02-05Use cmake to determine if we are enabling the Android Controller InterfaceRyan Houdek
2016-01-29Merge pull request #3553 from Sonicadvance1/more_android_gc_adapterRyan Houdek
Implement requesting permission for using the GC Wii U Adapter.
2016-01-27Implement requesting permission for using the GC Wii U Adapter.Ryan Houdek
2016-01-24Fix a bug in GCAdaptermathieui
where the payload size would end up being crazy values on the other thread. Mirroring the similar commit made for the android side: https://github.com/Sonicadvance1/dolphin/commit/2833685fbfd782b78bbf1813f30cbb0a4ecd801d
2016-01-23Fix a bug in GCAdapter_Android where the payload size would end up being ↵Ryan Houdek
crazy values on the opposite thread
2016-01-21Merge pull request #3538 from mathieui/pipes_localePierre Bourdon
[Pipe input] Make the commands locale-unaware
2016-01-20[Pipe input] Make the commands locale-unawaremathieui
Setting axis values in an automated way should not be locale-aware as strtod is.
2016-01-20Allow multiple GC adapters on one PC to be used with multiple Dolphin instances.Ryan Houdek
Previously we would iterate through every GC adapter plugged in to the PC and steal ownership of it. This causes issues all over the place in the implementation if this happens. Break on the first adapter we can get access to.
2016-01-13HW: Remove unnecessary header inclusionsLioncash
2016-01-10Comment change to reflect what code doesbooto
2016-01-06Move Android JNI bits from DolphinWX to the Android folder.Ryan Houdek
2016-01-06[Android] Add support for the Wii U Gamecube adapter under Android.Ryan Houdek
No way to properly enable it from an end user perspective yet. Doesn't require root. This same sort of system can be used for the Dolphinbar in the future for real wiimote support.
2016-01-06Add a stubbed GCAdapter namespace.Ryan Houdek
This cleans up a bunch of #ifdef checks in places.
2016-01-06Fixup typo in GCAdapterRyan Houdek
2016-01-05Make the Wii U Gamecube adapter work with less magic.Ryan Houdek
The Wii U Gamecube controller adapter setup has always been a bit weird. It tries to be as automatic as possible to make the user experience as easy as possible. The problem with this approach is that it brings a large disconnect in the user experience because you have the Gamecube controller setup with regular gamepads and then for some reason below that you have a "direct connect" option which will cause the Gamecube Adapter to overwrite the regular inputs if something was connected. While this works and allows the user to only click one checkbox to get the device working, it breaks the user's experience because they don't really know what "direct connect" means and won't look it up to figure out what it is. Just expecting the device to work (At least one occurence of this in the IRC channel in the last week). This way around also had the terrible nature of making the code more filthy than it needed to be. The GCAdapter namespace was parasitic and hooked in to the regular GC Controller SI class to overwrite the data that it was getting from the default configuration. Now instead we have a specific SIDevice class for the Wii U Gamecube adapter. This class is fairly simple and is a child of the regular SI Gamecube Pad device and only reimplements what it needs to. This also gives the ability to configure controllers individually, which allows the user to configure rumble individually per pad input. Overall the code is cleaner, and it fits more in line with how the rest of Dolphin works.
2016-01-05Add two missing values that can fit in GCPadStatusRyan Houdek
2016-01-05Move SI_GCAdapter over to InputCommonRyan Houdek
2016-01-04Android: More analog input configurationsPhatcat
Lets the user set the following in intervals of 10 between 10 and 100; - Stick/Radius (default 100,000000) - Triggers/Threshold (default 90,000000) - Tilt/Modifier/Range (default 50,000000) + mapped Tilt/Modifier button to the configurations for wiimotes & nunchuks
2015-12-24Ignored the mouse position unless the cursor is over the Dolphin window.skidau
Fixes issue 8673.
2015-12-02Merge pull request #3253 from Phatcat/masterMarkus Wick
More wiimote controls (+extensions) for android
2015-12-02Wiimote + Extensions for AndroidPhatcat
2015-11-19InputConfig: Clean up controller managementLioncash
2015-11-03Fix some bugs in Pipe input parsing.spxtr
If there were two commands in the buffer at once, it would only run the first because of an error in UpdateInput. If you sent the command "SET C" it would segfault because of a logic issue in ParseCommand.
2015-10-28Merge pull request #3170 from spxtr/pipesLioncash
Implemented GC Controller inputs via named pipes.
2015-10-24GC controller input using named pipesspxtr
Currently only works on unix, but can be extended to other systems. Can also be extended to do wiimotes. Searches the Pipes folder for readable named pipes and creates a dolphin input device out of them. Send controller inputs to the game by writing to the file. Commands are described in Pipes.h.
2015-10-06Added some headers to allow Dolphin to compile in my environment.catzilla4
2015-10-03Merge pull request #3128 from lioncash/uniqueshuffle2
ControllerEmu: Use make_unique over raw new
2015-10-03Merge pull request #3113 from lioncash/inputshuffle2
InputCommon: Get rid of multiple identical define macros
2015-10-03ControllerEmu: Use make_unique over raw newLioncash
2015-10-03Merge pull request #3102 from rohit-n/build-pchLioncash
Fix building with PCH disabled.
2015-10-02InputCommon: Use NSNumber numeric literals in Obj-C codeLioncash
2015-10-01InputCommon: Get rid of multiple identical define macrosLioncash
2015-09-28Fix building with PCH disabled.Rohit Nirmal
2015-09-26Common: Move asserts to their own headerLioncash
2015-09-17ControllerInterface: Fix -Winconsistent-missing-override warnings on OSXLioncash
2015-09-12Use official names for GameCube controller sticksJosJuice
Main Stick is changed to Control Stick and C-Stick is changed to C Stick. A new ui_name variable is added to ControlGroup so that the UI strings in DolphinWX can be updated without breaking backwards compatibility with config INIs and other things that use names as IDs.
2015-09-09ExpressionParser: Make all control paths return a value in operator std::stringLioncash
2015-09-05Add missing override specifiersLioncash
2015-09-05General: Remove unimplemented function prototypesLioncash
2015-09-03[windows] Update projects to vs2015.Shawn Hoffman
2015-09-01Merge pull request #2774 from ↵flacs
AdmiralCurtiss/wiimote-extension-reconnect-on-button-press Wiimote: Extend emulated Wiimote reconnect-on-button-press to attachments.