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

Method SetButtonOnlyInFocusTrigger

source/gui/gui_trigger.cpp:84–91  ·  view source on GitHub ↗

* Sets a button trigger. Requires: * - Trigger button is pressed * - Parent window is in focus */

Source from the content-addressed store, hash-verified

82 * - Parent window is in focus
83 */
84void GuiTrigger::SetButtonOnlyInFocusTrigger(s32 ch, u32 wiibtns, u16 gcbtns, u16 wiidrcbtns)
85{
86 type = TRIGGER_BUTTON_ONLY_IN_FOCUS;
87 chan = ch;
88 wiidrcdata.btns_d = wiidrcbtns;
89 wpaddata.btns_d = wiibtns;
90 pad.btns_d = gcbtns;
91}
92
93/****************************************************************************
94 * WPAD_Stick

Callers 4

ControllerWindowFunction · 0.80
PlayerMappingWindowFunction · 0.80
ScreenZoomWindowFunction · 0.80
ScreenPositionWindowFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected