Skip to content

Commit 9fa0790

Browse files
committed
re-arrange columns in table
1 parent 6f9d825 commit 9fa0790

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

SerialPrograms/Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_JoyconTable.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,21 @@ void register_joycon_tables(){
5353
ControllerCommandTable::make_row<JoyconStateRow>,
5454
{
5555
"Milliseconds",
56+
"Action",
5657
"Buttons",
5758
"Joystick (X)",
5859
"Joystick (Y)",
59-
"Action",
6060
}
6161
);
6262
ControllerCommandTable::register_controller_type(
6363
ControllerClass::NintendoSwitch_RightJoycon,
6464
ControllerCommandTable::make_row<JoyconStateRow>,
6565
{
6666
"Milliseconds",
67+
"Action",
6768
"Buttons",
6869
"Joystick (X)",
6970
"Joystick (Y)",
70-
"Action",
7171
}
7272
);
7373
}
@@ -98,10 +98,10 @@ JoyconStateRow::JoyconStateRow(EditableTableOption& parent_table)
9898
, ACTION(false, LockMode::UNLOCK_WHILE_RUNNING, "", "")
9999
{
100100
PA_ADD_OPTION(DURATION);
101+
PA_ADD_OPTION(ACTION);
101102
PA_ADD_OPTION(BUTTONS);
102103
PA_ADD_OPTION(JOYSTICK_X);
103104
PA_ADD_OPTION(JOYSTICK_Y);
104-
PA_ADD_OPTION(ACTION);
105105

106106
JoyconStateRow::on_config_value_changed(this);
107107
DURATION.add_listener(*this);

SerialPrograms/Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProControllerTable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ void register_procon_tables(){
6060
ControllerCommandTable::make_row<ProControllerStateRow>,
6161
{
6262
"Milliseconds",
63+
"Action",
6364
"Buttons",
6465
"Dpad",
6566
"Left JS (X)",
6667
"Left JS (Y)",
6768
"Right JS (X)",
6869
"Right JS (Y)",
69-
"Action",
7070
}
7171
);
7272
}
@@ -102,13 +102,13 @@ ProControllerStateRow::ProControllerStateRow(EditableTableOption& parent_table)
102102
, ACTION(false, LockMode::UNLOCK_WHILE_RUNNING, "", "")
103103
{
104104
PA_ADD_OPTION(DURATION);
105+
PA_ADD_OPTION(ACTION);
105106
PA_ADD_OPTION(BUTTONS);
106107
PA_ADD_OPTION(DPAD);
107108
PA_ADD_OPTION(LEFT_JOYSTICK_X);
108109
PA_ADD_OPTION(LEFT_JOYSTICK_Y);
109110
PA_ADD_OPTION(RIGHT_JOYSTICK_X);
110111
PA_ADD_OPTION(RIGHT_JOYSTICK_Y);
111-
PA_ADD_OPTION(ACTION);
112112

113113
ProControllerStateRow::on_config_value_changed(this);
114114
DURATION.add_listener(*this);

0 commit comments

Comments
 (0)