summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
AgeCommit message (Collapse)Author
2014-04-01Replace use of the deprecated mem_fun function with mem_fn.lioncash
2014-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
2014-03-17Turn some non-const refs into pointersTillmann Karras
2014-03-14Kill off some usages of c_str.Lioncash
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-03-09clang-modernize -add-overrideTillmann Karras
2014-02-28Various changes suggested by cppcheckTillmann Karras
- remove unused variables - reduce the scope where it makes sense - correct limits (did you know that strcat()'s last parameter does not include the \0 that is always added?) - set some free()'d pointers to NULL
2014-02-22Remove X11InputBase (dead code)Tillmann Karras
2014-02-20Fix the Windows build in relation to the recent changes.Lioncash
2014-02-20Fix more header sorting issues in InputCommon/ (now check-includes clean).Pierre Bourdon
2014-02-18Fix Linux buildPierre Bourdon
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-13Turn loops into range-based formTillmann Karras
and some things suggested by cppcheck and compiler warnings.
2014-02-13Merge pull request #50 from Parlane/inifile_tidyMatthew Parlane
Fix IniFile to use string& instead of char*
2014-02-13Fix IniFile to use string& instead of char*Matthew Parlane
Also removes .c_str() usages where found.
2014-02-10Replace all include guard ifdefs with "#pragma once"lioncash
2014-02-09Clean up some struct indentationsLioncash
Also cleaned up the indentations of some variable declarations.
2014-02-09ForceFeedback: Fixed scoping bugJules Blok
Previous code relied on a destroyed variable to still be valid.
2014-02-09ForceFeedback: Don't depend on the force_type_name index.Jules Blok
Instead use a for-each loop, compare GUIDs and save the name pointers.
2014-02-09ForceFeedback: Add OSX rumble supportJules Blok
2014-02-09ControllerInterface: Move DInput ForceFeedback support to a seperate classJules Blok
2014-02-01Introduce the usage of unique_ptr into the InputCommon ControlEmu.h class. ↵Lioncash
Allows for the automatic handling of resource deallocation.
2014-01-30Remove some unnecessary comments, as pointed out by Matt_P.Lioncash
2014-01-30Light cleanup to a little bit of InputCommon. Replaces much of the iterators ↵Lioncash
that litter this section of the codebase. Also clean up a little bit of the comments that describe the interface classes.
2014-01-20Move GLInterface.h into GLInterface directoryScott Moreau
2014-01-20Merge Platform.h into GLInterface.hScott Moreau
2014-01-19wayland: Add bits required to run as a wayland client.Scott Moreau
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre
2013-12-31Convert all vcxproj files to UNIX line endingsJasper St. Pierre
2013-12-12[Android] Fix joysticks only capable of right/down movements. Also make it ↵Ryan Houdek
capable of using onscreen joystick even if controller 1 is bound.
2013-11-24Merge branch 'master' into android-new-control-input-overlayRyan Houdek
Conflicts: Source/Android/res/values-ja/strings.xml Source/Android/res/values/strings.xml Source/Android/src/org/dolphinemu/dolphinemu/AboutFragment.java Source/Android/src/org/dolphinemu/dolphinemu/emulation/EmulationActivity.java Source/Android/src/org/dolphinemu/dolphinemu/folderbrowser/FolderBrowser.java Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java
2013-11-24[Android-overlay] Support multiple gamepads with touch screen controls.Ryan Houdek
2013-11-14more warning fixesJordan Cristiano
2013-11-03Run code through clang-modernize -add-override to add 'override' decls.comex
2013-11-03Run code through the advanced tool 'sed' to remove trailing whitespace.comex
2013-11-03Run code through clang-modernize -loop-convert to create range-based for ↵comex
loops, and manually fix some stuff up.
2013-10-26Update to VS2013 and a slew of build-related updates. Notes:Shawn Hoffman
* Currently there is no DEBUGFAST configuration. Defining DEBUGFAST as a preprocessor definition in Base.props (or a global header) enables it for now, pending a better method. This was done to make managing the build harder to screw up. However it may not even be an issue anymore with the new .props usage. * D3DX11SaveTextureToFile usage is dropped and not replaced. * If you have $(DXSDK_DIR) in your global property sheets (Microsoft.Cpp.$(PlatformName).user), you need to remove it. The build will error out with a message if it's configured incorrectly. * If you are on Windows 8 or above, you no longer need the June 2010 DirectX SDK installed to build dolphin. If you are in this situation, it is still required if you want your built binaries to be able to use XAudio2 and XInput on previous Windows versions. * GLew updated to 1.10.0 * compiler switches added: /volatile:iso, /d2Zi+ * LTCG available via msbuild property: DolphinRelease * SDL updated to 2.0.0 * All Externals (excl. OpenAL and SDL) are built from source. * Now uses STL version of std::{mutex,condition_variable,thread} * Now uses Build as root directory for *all* intermediate files * Binary directory is populated as post-build msbuild action * .gitignore is simplified * UnitTests project is no longer compiled
2013-10-19Remove some unnecessary includes as well as simplifying exisiting ones if ↵Lioncash
possible.
2013-10-17Basic precompiled header support for Linux/OS X. Shaves 20-30% off full ↵comex
rebuild time on my system.
2013-10-14Revert "Remove some unnecessary includes."Lioncash
Turns out this explodes on Linux. This reverts commit c4696568cc15d140cbdae460cd5e227c46845114.
2013-10-14Remove some unnecessary includes.Lioncash
2013-09-18[InputCommon] Fix a bug in ControllerInterface::UpdateOutput() in ↵Lioncash
ControllerInterface.cpp. The variable ok_count was never incremented, which caused the function to always return false.
2013-09-14Overlay local gameinis over global gameinis instead of copying.Pierre Bourdon
Huge megacommit because a lot of things needed to be modified to make this possible.
2013-09-11Fix "modifier" button functionality et al.Jordan Woyak
2013-09-01A bunch of trivial changes to fix clang warnings.comex
2013-08-15Fix compatibility with the SDL2.0 release.Pierre Bourdon
SDL2.0 removed SDL_HAPTIC_SQUARE because of ABI issues (see comment #7 on issue 6491 by Ryan C. Gordon from the SDL project). It will be reintroduced again in 2.1, so keep the code and #ifdef it away.
2013-08-09Revert "Fix a memory leak in ExpressionParser.cpp"Pierre Bourdon
This reverts commit cce809ac90cc195f0c88a6cc788b3ff7359083a5. The code was actually correct: "expr" is never allocated when an error is returned. This means when the expression parser fails, deleting "expr" means deleting an uninitialized pointer.