<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.h, branch 4.0</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>InputConfigDialog: Don't show "..." for complicated expressions</title>
<updated>2013-06-29T22:28:14+00:00</updated>
<author>
<name>Jasper St. Pierre</name>
<email>jstpierre@mecheye.net</email>
</author>
<published>2013-06-29T22:27:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=d5983b587e3e9739622b8e1658114a81ccfc3e69'/>
<id>d5983b587e3e9739622b8e1658114a81ccfc3e69</id>
<content type='text'>
Just show the actual expression. We need to do a bit of mangling
here as wx has no way to turn off mnemonics parsing, so do that
as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just show the actual expression. We need to do a bit of mangling
here as wx has no way to turn off mnemonics parsing, so do that
as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>ExpressionParser: Add support for simple barewords control names</title>
<updated>2013-06-27T00:19:23+00:00</updated>
<author>
<name>Jasper St. Pierre</name>
<email>jstpierre@mecheye.net</email>
</author>
<published>2013-06-27T00:19:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=f53eefb491d8325ec7fccc8c006dc3be38765fe5'/>
<id>f53eefb491d8325ec7fccc8c006dc3be38765fe5</id>
<content type='text'>
If an expression can't be parsed normally, we then look to see if it's a
simple device name. This keeps backwards compatibility with simple input
ocnfigurations, where people just used the Detect button.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an expression can't be parsed normally, we then look to see if it's a
simple device name. This keeps backwards compatibility with simple input
ocnfigurations, where people just used the Detect button.
</pre>
</div>
</content>
</entry>
<entry>
<title>InputConfigDiag: Use "..." for complicated expressions</title>
<updated>2013-06-25T04:58:31+00:00</updated>
<author>
<name>Jasper St. Pierre</name>
<email>jstpierre@mecheye.net</email>
</author>
<published>2013-06-17T10:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=c5c86d17dc5f8fcb4421a9e745b443ea33f143c4'/>
<id>c5c86d17dc5f8fcb4421a9e745b443ea33f143c4</id>
<content type='text'>
The full expression is quite often too big for a simple button
label, so encourage people to use the full editor to edit it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The full expression is quite often too big for a simple button
label, so encourage people to use the full editor to edit it.
</pre>
</div>
</content>
</entry>
<entry>
<title>InputCommon: Add a new ExpressionParser to replace the old hack language</title>
<updated>2013-06-25T04:58:30+00:00</updated>
<author>
<name>Jasper St. Pierre</name>
<email>jstpierre@mecheye.net</email>
</author>
<published>2013-06-14T03:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=6246f6e81581339eb176cae044960e1f8437b488'/>
<id>6246f6e81581339eb176cae044960e1f8437b488</id>
<content type='text'>
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 &amp; Y) | !B

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

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

The basic editor UI that inserts tokens has not been updated to reflect
the new language.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &amp; Y) | !B

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

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

The basic editor UI that inserts tokens has not been updated to reflect
the new language.
</pre>
</div>
</content>
</entry>
</feed>
