Skip to content

Commit 77e7336

Browse files
committed
Colors for Monster Hunter procon.
1 parent 47a7c36 commit 77e7336

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

SerialPrograms/Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerSettings.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ const std::vector<ProconColors>& OFFICIAL_PROCON_COLORS0(){
165165
const static std::vector<ProconColors> database{
166166
{"Procon: Stock Black", 0x323232, 0x323232, 0x323232, 0xFFFFFF},
167167
{"Procon: Super Smash Bros. Ultimate", 0xFFFFFF, 0xFFFFFF, 0x2D2D2D, 0xE6E6E6},
168+
{"Procon: Monster Hunter Rise", 0x474646, 0x474646, 0x2D2D2D, 0xE7E6E6},
168169
{"Procon: Zelda Tears of the Kingdom", 0x464646, 0xFFFFFF, 0x2D2D2D, 0xE6E6E6},
169170
// {"Procon: Xenoblade Chronicles 2", 0xFFFFFF, 0xFFFFFF, 0x323132, 0xFFFFFF}, // The actual values. Switch automatically replaces grips with pink.
170171
{"Procon: Xenoblade Chronicles 2", 0xff3a66, 0xff3a66, 0x323132, 0xFFFFFF}, // Grip color is a guess.
@@ -214,9 +215,9 @@ const StringSelectDatabase& CONTROLLER_DATABASE(){
214215

215216
const EnumDropdownDatabase<ControllerType>& ControllerSettingsType_Database(){
216217
static const EnumDropdownDatabase<ControllerType> database({
217-
{ControllerType::NintendoSwitch_WirelessProController, "pro-controller", "Pro Controller"},
218-
{ControllerType::NintendoSwitch_LeftJoycon, "left-joycon", "Left Joycon"},
219-
{ControllerType::NintendoSwitch_RightJoycon, "right-joycon", "Right Joycon"},
218+
{ControllerType::NintendoSwitch_WirelessProController, "pro-controller", "NS1: Pro Controller"},
219+
{ControllerType::NintendoSwitch_LeftJoycon, "left-joycon", "NS1: Left Joycon"},
220+
{ControllerType::NintendoSwitch_RightJoycon, "right-joycon", "NS1: Right Joycon"},
220221
});
221222
return database;
222223
}
@@ -353,7 +354,10 @@ void ControllerSettingsRow::on_config_value_changed(void* object){
353354

354355
ControllerSettingsTable::ControllerSettingsTable()
355356
: EditableTableOption_t<ControllerSettingsRow>(
356-
"<b>Wireless Controller Settings:</b><br>Changes take effect after resetting the device.",
357+
"<b>Wireless Controller Settings:</b><br>"
358+
"Changes take effect after resetting the device. "
359+
"The MAC address is only for informational purposes as reported by the device. "
360+
"Changing it will not change the actual address.",
357361
LockMode::UNLOCK_WHILE_RUNNING,
358362
true
359363
)

SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const Resolution DEFAULT_RESOLUTION(1920, 1080);
2323

2424
TimingOptions::TimingOptions()
2525
: GroupOption(
26-
"Timing Options",
26+
"Controller Timing Options",
2727
LockMode::UNLOCK_WHILE_RUNNING,
2828
EnableMode::ALWAYS_ENABLED,
2929
true
@@ -43,9 +43,11 @@ TimingOptions::TimingOptions()
4343
0ms, 200ms, "10 ms"
4444
)
4545
, SYSBOTBASE(
46-
"<b>sys-botbase Timing Variation:</b><br>"
47-
"Assume that sys-botbase controllers have a timing variation of no greater than this. "
48-
"This is used to adjust button delays to ensure they go through correctly.",
46+
"<b>sys-botbase 2 Timing Variation:</b><br>"
47+
"Assume that sys-botbase 2 controllers have a timing variation of no greater than this. "
48+
"This is used to adjust button delays to ensure they go through correctly.<br>"
49+
"sys-botbase 3 does not use this option since it is as stable as a wired microcontroller "
50+
"and is therefore categorized accordingly.",
4951
LockMode::LOCK_WHILE_RUNNING,
5052
0ms, 200ms, "150 ms"
5153
)

0 commit comments

Comments
 (0)