CAREFUL : this update REVERSES the triggers default actions.
* Make the right trigger opens the hand and the left trigger skips to
  next phase.
* Add an option to reverse triggers (and thus revert to old style).
This commit is contained in:
jean.chalard
2009-09-23 07:25:39 +00:00
parent 82551174d9
commit 28f93c035f
7 changed files with 15 additions and 6 deletions

View File

@@ -134,8 +134,7 @@ void GuiHandSelf::Repos()
bool GuiHandSelf::CheckUserInput(u32 key)
{
//u32 trigger = options[REVERSE_TRIGGERS];
u32 trigger = PSP_CTRL_LTRIGGER;
u32 trigger = (options[Options::REVERSETRIGGERS].number ? PSP_CTRL_LTRIGGER : PSP_CTRL_RTRIGGER);
if (trigger == key)
{
state = (Open == state ? Closed : Open);