dolphin/Source/Core/InputCommon/Src/ControllerInterface
Jasper St. Pierre 6246f6e815 InputCommon: Add a new ExpressionParser to replace the old hack language
This contains a new, hand-written expression parser to replace the old
hack language based on string munging. The new approach is a simple
AST-based evaluation approach, instead of the "list of operations"
infix-based hack that there was before.

The new language for configuration has support for parentheses, and
counts "!" as a unary operator instead of the binary "NOT OR" operator
it was before. A simple example:

  (X & Y) | !B

Explicit device references, and complex device names ("Right Y+") are
handled with backticks and colons:

  (`SDL/0/6 axis joystick:Right X+` & `DInput/0/Keyboard Mouse:A`)

The basic editor UI that inserts tokens has not been updated to reflect
the new language.
2013-06-25 00:58:30 -04:00
..
Android InputCommon: Split Device stuff out 2013-06-25 00:58:30 -04:00
DInput InputCommon: Split Device stuff out 2013-06-25 00:58:30 -04:00
OSX InputCommon: Split Device stuff out 2013-06-25 00:58:30 -04:00
SDL InputCommon: Split Device stuff out 2013-06-25 00:58:30 -04:00
XInput InputCommon: Split Device stuff out 2013-06-25 00:58:30 -04:00
Xlib InputCommon: Split Device stuff out 2013-06-25 00:58:30 -04:00
ControllerInterface.cpp InputCommon: Add a new ExpressionParser to replace the old hack language 2013-06-25 00:58:30 -04:00
ControllerInterface.h InputCommon: Add a new ExpressionParser to replace the old hack language 2013-06-25 00:58:30 -04:00
Device.cpp InputCommon: Split Device stuff out 2013-06-25 00:58:30 -04:00
Device.h InputCommon: Split Device stuff out 2013-06-25 00:58:30 -04:00
ExpressionParser.cpp InputCommon: Add a new ExpressionParser to replace the old hack language 2013-06-25 00:58:30 -04:00
ExpressionParser.h InputCommon: Add a new ExpressionParser to replace the old hack language 2013-06-25 00:58:30 -04:00