summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ControllerConfigDiag.cpp
AgeCommit message (Collapse)Author
2018-06-26Remove DolphinWXspycrab
2018-04-17Remove Hybrid Wii RemoteJosJuice
It simply doesn't seem to work for anything useful, and nobody seems to care about maintaining it.
2018-04-12Reformat all the things!spycrab
2017-09-27More Capitalization ChangesPEmu1
2017-05-09Qt: Add controller (overview) windowspycrab
2017-04-30IOS: Convert the IOS kernel HLE code to a classLéo Lam
This changes the main IOS code (roughly the equivalent of the kernel) to a class instead of being a set of free functions + tons of static variables. The reason for this change is that keeping tons of static variables like that prevents us from making an IOS instance and reusing IOS code easily. Converting the IOS code to a class also allows us to mostly decouple IOS from the PPC emulation. The more interesting changes are in Core/IOS/IOS. Everything else is mostly just boring stuff required by this change... * Because the devices themselves call back to the main IOS code for various things (getting the current version, replying to a request, and other syscall-like functions), just like processes in IOS call kernel syscalls, we have to pass a reference to the kernel to anything that uses IOS syscalls. * Change DoState to save device names instead of device IDs to simplify AddDevice() and get rid of an ugly static count. * Change ES_Launch's ack to be sent at IOS boot, now that we can do this properly.
2017-04-03Core: Hide determinism globalLioncash
This is only ever queried and not set outside of the Core.cpp, so this should just be hidden internally and just have a function exposed that allows querying it.
2017-03-19Merge pull request #4856 from ligfx/backgroundinputAnthony
Move "Background Input" out of individual controller configurations
2017-03-16SI: Namespace device classesLioncash
Places all of the SI code under the SerialInterface namespace instead of only the main source file. This keeps all SI code under a common name, as well as out of the global namespace
2017-03-13Move 'Background Input' to controller config dialogMichael Maltese
2017-03-08Moved X11Utils into UICommon.Vlad Firoiu
2017-02-05Core: Convert State enum into an enum classLioncash
2017-01-20Core: Move SI source files to their own directoryLioncash
2017-01-18Put IOS devices in a namespace and drop WII_IPC_HLE prefixLéo Lam
2017-01-18IOS: Reorganise the source files and IPC_HLE→IOSLéo Lam
IPC_HLE is actually IOS HLE. The actual IPC emulation is not in IPC_HLE, but in HW/WII_IPC.cpp. So calling IPC_HLE IOS is more accurate. (If IOS LLE gets ever implemented, it'll likely be at a lower level -- Starlet LLE.) This also totally gets rid of the IPC_HLE prefix in file names, and moves some source files to their own subdirectories to make the file hierarchy cleaner. We're going to get ~14 additional source files with the USB PR, and this is really needed to keep things from becoming a total pain.
2017-01-17IPC_HLE: Namespace IOS HLELioncash
Gets all of the IOS HLE code out of the global scope.
2016-12-24Mark strings added by PR #4461 for translationJosJuice
Also fix the HKGP_FRANE_ADVANCE typo.
2016-11-28Completely redo All configuration dialogaldelaro5
Hotkeys Make a new class that inherits from InputConfigDialog with a specialised constructor. The changes are mainly the top portion and it now uses tabs to categorise the hotkeys. Redo the GCPad configuration dialog The layout is similar, but it now allows flexibility to change it more easily. Redo the GC Keyboard configuration dialog Same layout. Redo completely the Wiimote configuration dialog Separated the controls into 2 tabs to make them less imposing overall. Redo the Nunchuk configuration dialog Similar layout, except for 2 control group sizers. Redo the Classic controller configuration dialog Same layout. Redo the Guitar input configuration dialog Stacked 2 sets of group together. Redo the Turntable configuration dialog More stacked groups and the window is much less wide.
2016-11-28Add flexibility to InputConfigDialogaldelaro5
Removed the unecessary forced tabbed layout, removed the layout part of the constructor and remade some method in preparation for tabbed styled input dialog such as the new hotkey configuration one. It breaks every inputconfigDialog, but this will get fixed in the next commits. Also moved to a folder since there will be many more files created in the next commits so it gives better separation.
2016-10-25Change "Wiimote" to "Wii Remote" in InterfacePringo
The usage of "Wii Remote" and "Wiimote" in the interface is inconsistent. "Wiimote" is also not a real word nor is it an official product name. Therefore I have changed instances of "Wiimote" in the UI to instead say "Wii Remote". I also made a couple of minor grammatical changes as well. This is mostly a resubmission of #4338 but there are some minor other changes as well.
2016-10-04WX: HiDPI: ControllerConfigDiagEmptyChaos
Minor appearance change to align wiimote and gamecube sections.
2016-10-03ControllerConfigDiag: Improve the UILéo Lam
The ControllerConfigDiag design was getting confusing, so more significant changes needed to be done. Firstly, the GC controller and the Wiimote section layouts have been aligned for consistency. The Balance Board source chooser is a checkbox. The "general settings" that affect the SYSCONF have been moved to the Wii pane in the Config dialog. It makes more sense because those affect the Wii's settings in the NAND, unlike the other options. Another reason for moving it is that the Controller Config Dialog was getting pretty crowded, and the whole section is disabled when emulation is running, which is wasted space. The Wiimotes section is now organised by two radio buttons. One is for the Passthrough Mode, with sync/reset buttons under it; the other is the emulated Bluetooth mode, which still has the regular Wiimote source choosers, the Continuous Scanning controls and the Enable Speaker Data option (which only applies to the emulated BT mode). Hopefully this should make things a bit clearer and look cleaner. (This is a monolithic commit because separating UI changes is hard)
2016-10-03Add ability to passthrough a Bluetooth adapterLéo Lam
This adds the ability to passthrough a whole Bluetooth adapter and skip the majority of the Bluetooth emulation code. We use libusb to send HCI commands, receive HCI events and transfer ACL data directly to the first adapter that is found or to a specific adapter (if configured to) This is possible because the Wii's Bluetooth module is actually just a pretty standard Bluetooth adapter… …except for two vendor-specific commands, for which replies are faked, and also for the sync button. This adds a hotkey that works in the exact same way as the sync button would on a Wii: it triggers an HCI event, which emulated software interpret as a command to perform a BT inquiry. This commit also changes the UI code to expose passthrough mode and WII_IPC_HLE to be a bit more thread safe (for the device map).
2016-08-16Rename and reorder Members and Methods for name consistencies; Replace 'OK' ↵Julian Löhr
and 'Cancel' buttons with single 'Close'; Remove the 'revert' for Wiimote Sources The 'revert' functionality is some very old left-over and isn't even working properly (read: could break Wiimote mapping). As no dialog features any cancel and revert functionality it is removed.
2016-08-11Remove AM BaseboardJosJuice
Let's stop pretending that we support Triforce emulation. Keeping this code around just in case someone will make major improvements in the future isn't really worth it. I'm keeping the Triforce game INIs so users will know that the compatibility rating for Triforce games is 1 star (broken).
2016-07-05Use g_want_determinism moreJosJuice
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-01-07Use the English name for DK Bongos in the English version of DolphinJosJuice
Tarukonga is Japanese. People who don't speak Japanese are unlikely to understand it.
2016-01-06Add a stubbed GCAdapter namespace.Ryan Houdek
This cleans up a bunch of #ifdef checks in places.
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-05Move SI_GCAdapter over to InputCommonRyan Houdek
2015-12-17DolphinWX: Change "AM-Baseboard" string to "AM Baseboard"JosJuice
It's so that the string in ControllerConfigDiag will match the string in GameCubeConfigPane. Right now, it unnecessarily appears twice in the list of strings to translate.
2015-10-01ControllerConfigDiag: Remove superfluous argumentsLioncash
2015-10-01ControllerConfigDiag: Amend button sizing issuesLioncash
2015-07-14GCAdapter: Disable the scanning thread when direct connect is disabledmathieui
The goal of this commit is to let people who experience driver issues with libusb and windows disable the scanning thread (to avoid mouse issues, keyboard issues, and audio issues). Also disable the rumble setting when the adapter driver is not detected, and don’t do anything if libusb can’t init for some reason.
2015-06-28Use emplace() instead of insert() where applicable for maps.Lioncash
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-06-12Options: merge SCoreStartupParameter into SConfigdegasus
2015-06-07Fixed translation of strings at runtime.Matthew Parlane
Static strings can not be translated until wxLocale is initialised. This reverts commit 0004b6004b726535275ceb96c8493c195fd79401. Conflicts: Source/Core/DolphinWX/VideoConfigDiag.cpp
2015-05-25Add missing license headersTillmann Karras
2015-05-08DolphinWX: Remove unnecessary includesLioncash
2015-05-01Add missing ifdefs around GCAdapter code in Controller configmathieui
Otherwise the build fails if libusb is not found
2015-04-30GCAdapter: Add a setting to toggle rumblemathieui
2015-04-30GCAdapter: Add a background thread to detect the adaptermathieui
This scanning thread either polls libusb or checks every 500ms for a change depending on host capabilities. The GC Adapter can now be plugged and unplugged at any time when dolphin is open, it will be used if the direct connect option is set.
2015-03-08Fixed the crash that would occur when the Refresh button was pressed in the ↵skidau
controllers config. - Simplified the locking mechanism when controllers were updated - Reloaded the config of the controls instead of re-initialising the control plugins - Fixed controls being unresponsive after the Refresh button was pressed - Disables the hotkeys while the controller config is open
2015-03-05Removed the GC Adapter "Use Thread" option as it was not useful.skidau
2015-02-11DolphinWX: Get rid of unnecessary Destroy callsLioncash
Removes the requirement for stack allocated InputConfigDialogs to call Destroy. This shouldn't be necessary for wxDialog derivatives. This also fixes a leak that would occur every time an InputConfigDialog is opened and closed. wxWindow subclasses (this includes wxDialog) only destroy child windows and sizers (including things in the sizers). So every wxTimer allocation would have resulted in a leak.
2015-01-21Merge pull request #1869 from Stevoisiak/GeneralConsistencyRyan Houdek
Minor consistency changes
2015-01-17Added GameCube Keyboard support.skidau
2015-01-15Merge pull request #1832 from shonumi/disable-configsskidau
Properly disable or enable Configure buttons for GC controllers