summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControlReference
AgeCommit message (Collapse)Author
2021-05-12InputCommon: follow coding conventionsFiloppi
2021-05-12Add mixed comments to input code, make some tooltip clearerFiloppi
2021-04-28Merge pull request #9674 from Filoppi/fix_hotkey_suppresion_crashJordan Woyak
Fix hotkey suppression crash
2021-04-26InputCommon: small hotkey threshold symmetry fixFiloppi
2021-04-26InputCommon: fix hotkey suppression crash if nullptr suppressions were added ↵Filoppi
to the map Update references was failing to update the references, causing input to stay nullptr and crashing. I fixed the case that triggered that, though also added checks against nullptrs for safety. (cherry picked from commit 4bdcf707555a5568eddff957fa3604975ffb6ed7)
2021-04-02Replace uses of cassert with Common/Assert.hPokechu22
2021-01-27rename InputCommon/ControllerInterface/Device to CoreDeviceShawn Hoffman
2020-11-08InputCommon: Return error, if any, from ControlReference::SetExpression().Admiral H. Curtiss
2020-10-20ExpressionParser: Add missing <functional> includeLioncash
Unbreaks Windows CMake builds.
2020-09-25ExpressionParser: Improve hotkey suppression logic. Allow activation with ↵Jordan Woyak
simultaneous press of modifier and final input.
2020-09-25ExpressionParser: Replace ScopeGuard with custom deleter unique_ptr.Jordan Woyak
2020-09-25InputCommon: Make hotkeys and input detection aware of Ctrl -> L_Ctrl / ↵Jordan Woyak
R_Ctrl hierarchy.
2020-09-25InputCommon: Clean up modifier ignoring logic.Jordan Woyak
2020-09-25ExpressionParser: Allow duplicate and superset modifier hotkeys to function.Jordan Woyak
2020-09-25ExpressionParser: Suppress inputs when hotkey modifiers are pressed.Jordan Woyak
2020-09-25ExpressionParser: Add Hotkey syntax.Jordan Woyak
2020-08-02InputCommon: Add a handful of math functions to the expression parser.Admiral H. Curtiss
2020-03-24Cleanup warnings of -Wmissing-declarationsJun Su
Add static to the functions which is not intentionally export to big scope.
2020-02-09InputCommon: Eliminate some duplicated button threshold logic.Jordan Woyak
2020-02-08InputCommon: Allow controller settings specified with input expresions.Jordan Woyak
2019-11-22InputCommon/FunctionExpression: Use Yoda conditions, we do notLioncash
The general convention in the codebase is to compare the non-constant value/string with the constant value/string, not the other way around.
2019-11-22InputCommon/FunctionExpression: Remove unnecessary 'else' in ↵Lioncash
MakeFunctionExpression() Given all conditional bodies only contain a return, the use of else here isn't necessary. This has the benefit of consistently vertically aligning the names.
2019-11-22InputCommon/FunctionExpression: Make MakeFunctionExpression() take a ↵Lioncash
std::string_view There's nothing within this function that requires a copy of the string to be made, so we can make use of a non-owning view
2019-11-22InputCommon/FunctionExpression: Remove unused LOOP_MAX_REPS constantLioncash
This isn't used anywhere in the translation unit, so we can remove it.
2019-11-22InputCommon/FunctionExpression: Remove cyclical includeLioncash
This header was including itself, which is likely not intended.
2019-11-22InputCommon/FunctionExpression: Collapse namespacesLioncash
Since we target C++17, we can collapse the namespaces into a single declaration specifier.
2019-11-22InputCommon/FunctionExpression: include <algorithm>Lioncash
std::min/std::max are used within this translation unit, so it needs to be included to prevent potential compilation failures.
2019-11-06InputCommon: Make the "input gate" not racey.Jordan Woyak
2019-10-25InputCommon: Change "EOF" to "end of expression" in user facing stringJosJuice
This is hopefully clearer, since we're not dealing with a file.
2019-10-20ExpressionParser: Add XOR operator.Jordan Woyak
2019-10-12ExpressionParser: Make Lexer ctor explicit and move argument.Jordan Woyak
2019-10-12ExpressionParser: Add support for /* */ style comments.Jordan Woyak
2019-10-11ExpressionParser: Show error message with expected arguments.Jordan Woyak
2019-10-11ExpressionParser: Remove ! character from function syntax. Remove unused ↵Jordan Woyak
serialization functions.
2019-10-11ExpressionParser: Remove !while and add optional 2nd argument to !smooth.Jordan Woyak
2019-10-11ExpressionParser/DolphinQt: Added parse results to UI.Jordan Woyak
2019-10-11DolphinQT: Add syntax highlighting from tokenizer data.Jordan Woyak
2019-10-11ExpressionParser: Clean up some redundant using-declarations and wrong comments.Jordan Woyak
2019-10-11ExpressionParser: Add !pulse function that evaluates to 1.0 for N seconds ↵Jordan Woyak
for each press.
2019-10-11ExpressionParser: Add relative input function.Jordan Woyak
2019-10-11ExpressionParser: Fix timer function with negative values.Jordan Woyak
2019-10-11ExpressionParser: Add !tap function which activates after X (defaults to 2) ↵Jordan Woyak
taps within Y seconds.
2019-10-11ExpressionParser: Add !hold function that activates after input is held for ↵Jordan Woyak
N seconds.
2019-10-11ExpressionParser: Add function to smooth inputs.Jordan Woyak
2019-10-11ExpressionParser: Add deadzone function.Jordan Woyak
2019-10-11ExpressionParser: Add optional 2nd argument to toggle function which clears ↵Jordan Woyak
state.
2019-10-11ExpressionParser: Move FunctionExpression type definitions into another file.Jordan Woyak
2019-10-11ExpressionParser: Allow unary functions to be used without parens around the ↵Jordan Woyak
argument. e.g. !`Up`
2019-10-11ExpressionParser: Make function names case sensitive.Jordan Woyak
2019-10-11ExpressionParser: Rename some functions and return a syntax error on ↵Jordan Woyak
trailing tokens.