Removed unnecessary debug key abbreviations
This commit is contained in:
parent
403d2f0058
commit
446b614409
|
@ -38,7 +38,7 @@ button_l=
|
||||||
button_r=
|
button_r=
|
||||||
button_start=
|
button_start=
|
||||||
button_select=
|
button_select=
|
||||||
button_dbg=
|
button_debug=
|
||||||
button_zl=
|
button_zl=
|
||||||
button_zr=
|
button_zr=
|
||||||
button_home=
|
button_home=
|
||||||
|
|
|
@ -87,7 +87,7 @@ void Module::UpdatePadCallback(u64 userdata, s64 cycles_late) {
|
||||||
state.r.Assign(buttons[R - BUTTON_HID_BEGIN]->GetStatus());
|
state.r.Assign(buttons[R - BUTTON_HID_BEGIN]->GetStatus());
|
||||||
state.start.Assign(buttons[Start - BUTTON_HID_BEGIN]->GetStatus());
|
state.start.Assign(buttons[Start - BUTTON_HID_BEGIN]->GetStatus());
|
||||||
state.select.Assign(buttons[Select - BUTTON_HID_BEGIN]->GetStatus());
|
state.select.Assign(buttons[Select - BUTTON_HID_BEGIN]->GetStatus());
|
||||||
state.dbg.Assign(buttons[Dbg - BUTTON_HID_BEGIN]->GetStatus());
|
state.debug.Assign(buttons[Debug - BUTTON_HID_BEGIN]->GetStatus());
|
||||||
|
|
||||||
// Get current circle pad position and update circle pad direction
|
// Get current circle pad position and update circle pad direction
|
||||||
float circle_pad_x_f, circle_pad_y_f;
|
float circle_pad_x_f, circle_pad_y_f;
|
||||||
|
|
|
@ -52,7 +52,7 @@ struct PadState {
|
||||||
BitField<9, 1, u32> l;
|
BitField<9, 1, u32> l;
|
||||||
BitField<10, 1, u32> x;
|
BitField<10, 1, u32> x;
|
||||||
BitField<11, 1, u32> y;
|
BitField<11, 1, u32> y;
|
||||||
BitField<12, 1, u32> dbg;
|
BitField<12, 1, u32> debug;
|
||||||
|
|
||||||
BitField<28, 1, u32> circle_right;
|
BitField<28, 1, u32> circle_right;
|
||||||
BitField<29, 1, u32> circle_left;
|
BitField<29, 1, u32> circle_left;
|
||||||
|
|
|
@ -38,7 +38,7 @@ enum Values {
|
||||||
R,
|
R,
|
||||||
Start,
|
Start,
|
||||||
Select,
|
Select,
|
||||||
Dbg,
|
Debug,
|
||||||
|
|
||||||
ZL,
|
ZL,
|
||||||
ZR,
|
ZR,
|
||||||
|
@ -73,7 +73,7 @@ static const std::array<const char*, NumButtons> mapping = {{
|
||||||
"button_r",
|
"button_r",
|
||||||
"button_start",
|
"button_start",
|
||||||
"button_select",
|
"button_select",
|
||||||
"button_dbg",
|
"button_debug",
|
||||||
"button_zl",
|
"button_zl",
|
||||||
"button_zr",
|
"button_zr",
|
||||||
"button_home",
|
"button_home",
|
||||||
|
|
Reference in New Issue