MCPcopy Create free account
hub / github.com/dborth/fceugx / SetHeldTrigger

Method SetHeldTrigger

source/gui/gui_trigger.cpp:57–64  ·  view source on GitHub ↗

* Sets a held trigger. Requires: * - Element is selected * - Trigger button is pressed and held */

Source from the content-addressed store, hash-verified

55 * - Trigger button is pressed and held
56 */
57void 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:

Callers 1

GuiFileBrowserMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected