* Sets a held trigger. Requires: * - Element is selected * - Trigger button is pressed and held */
| 55 | * - Trigger button is pressed and held |
| 56 | */ |
| 57 | void GuiTrigger::SetHeldTrigger(s32 ch, u32 wiibtns, u16 gcbtns, u16 wiidrcbtns) |
| 58 | { |
| 59 | type = TRIGGER_HELD; |
| 60 | chan = ch; |
| 61 | wiidrcdata.btns_h = wiidrcbtns; |
| 62 | wpaddata.btns_h = wiibtns; |
| 63 | pad.btns_h = gcbtns; |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * Sets a button trigger. Requires: |