summaryrefslogtreecommitdiff
path: root/src/input/joystick.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-06-25Split #include "utils/performance.h" out of localconsts.hFedja Beader1-0/+1
only about 160 out of 1500 files that include localconsts.h need to include performance.h Saves 12% from compile times (with profiler ON) and 0.1% with profiler OFF. **** mana/plus!189
2025-05-24Switch source code headers to ManaVerse & update copyrights to 2025Fedja Beader1-3/+3
.. instead of manaplus's header. & update copyrights to 2025. Open problem: should it be "The ManaVerse Client", "the ManaVerse client" or something in between in "This file is part of ..." line? All caps is current situation. Squashed with: * update copyright dates for 2025 * Revert "Switch to branch of mplint that checks for manaverse copyright headers" * Change back to uppercase The Why? This line was changed 3 times in history and all had an uppercase The. PS: ManaVerse has no endorsment from the parent project, ManaPlus. * Change to "This file is part of the ManaVerse Client" poppet says 'the' instead of 'The' find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e 's/This file is part of The ManaPlus Client/This file is part of the ManaVerse Client/' {} \+ * Change 'The ManaPlus Client' to 'The ManaVerse Client' in headers find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e '2s/ManaPlus/ManaVerse/' {} \+ * Switch to branch of mplint that checks for manaverse copyright headers .. instead of manaplus's **** mana/plus!179
2024-05-15Enable joystick by default, update default toleranceewewukek1-3/+0
2024-05-15Heuristic to detect controller triggersewewukek1-3/+26
2024-05-15Refactor joystick input codeewewukek1-58/+68
2024-05-15Make sticks/triggers behave like regular buttonsewewukek1-4/+57
2024-05-15Extend gui support to joystick hat (d-pad)ewewukek1-0/+5
2024-05-15Gui support for joystick buttonsewewukek1-0/+10
2024-05-15Add a checkbox for d-pad to switch between movement and button behaviorewewukek1-17/+27
2024-05-15Make D-Pad behave like regular buttonsewewukek1-24/+59
2024-05-14Switch joystick axis tolerance type to floatewewukek1-6/+6
2024-05-14Remove joystick calibration logicewewukek1-47/+2
2024-05-14Add a slider to joystick settings to set axis toleranceewewukek1-3/+3
2024-05-14Use single tolerance value for all 4 joystick movement directionsewewukek1-32/+17
2024-02-13Hotplug support for joysticksewewukek1-9/+24
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2020-04-24switch: fix joystick directionscpasjuste1-7/+4
2020-04-23switch: enable sound and keyboard button by default, disable joysticks for nowcpasjuste1-5/+7
2020-04-22switch: enable joystick and mousecpasjuste1-0/+9
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-11-27Remove extra ; from different code.Andrei Karas1-1/+1
2018-10-29Fix code style.s20181102Andrei Karas1-1/+1
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-09-15Fix compilation with SDL 2 < 2.0.6.Andrei Karas1-0/+3
2017-09-15Dump more info about current joystick (SDL2).Andrei Karas1-0/+54
2017-09-09Add workaround for fix alt-tab issue in SDL2.Andrei Karas1-2/+4
Also add option to enable/disable this workaround.
2017-09-08Add comment about SDL_JoystickEventState.Andrei Karas1-0/+1
2017-08-22Remove some parentheses.Andrei Karas1-1/+1
2017-07-14Replace std::vector into macro STD_VECTOR.Andrei Karas1-1/+1
In most case it equal to std::vector except debug modes. Now it can be also mse::mstd::vector, but sadly this class not support all required features.
2017-06-29Move foreach macroses into separate file.Andrei Karas1-0/+1
2017-06-20Fix sdl warning hiding pragmas for old compilers.Andrei Karas1-3/+3
2017-06-20Prevent Wshadow varnings in SDL code.Andrei Karas1-0/+3
2017-06-07Fix clang-tidy check readability-implicit-bool-cast.Andrei Karas1-8/+8
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-09-23Add missing comments into defines.Andrei Karas1-2/+2
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-11-20Fix code style.Andrei Karas1-2/+0
2015-11-17Convert enum InputType into strong typed.Andrei Karas1-1/+2
2015-05-31Convert InputAction enum into strong typed enum.Andrei Karas1-1/+1
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-07-17Rename KeyFunction into InputFunction.Andrei Karas1-2/+2
2014-07-17Rename KeyItem into InputItem.Andrei Karas1-1/+1
2014-06-22Add profiler lines into some functions.Andrei Karas1-0/+8
2014-05-31fix code style.Andrei Karas1-3/+2
2014-05-30Move main window related code into windowmanager.Andrei Karas1-2/+5
2014-05-29Move variables definition into each file with class definition.Andrei Karas1-0/+1
2014-05-25Fix align in constructors.Andrei Karas1-1/+1
2014-05-18Move inputtype into separate file.Andrei Karas1-2/+3
2014-01-08fix code style.Andrei Karas1-1/+1
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1