@@ -376,16 +376,19 @@ input::SwitchJoystickInput_Type1::SwitchJoystickInput_Type1(
376376[[nodiscard]] input::AbstractJoystickSettings<input::console::SettingsType>
377377input::SwitchJoystickInput_Type1::default_settings_raw () const {
378378 const AbstractJoystickSettings<console::SettingsType> settings = //
379- { .identification = JoystickIdentification{},
380- .rotate_left = JOYCON_DPAD_LEFT,
381- .rotate_right = JOYCON_DPAD_RIGHT,
382- .move_left = JOYCON_LDPAD_LEFT,
383- .move_right = JOYCON_LDPAD_RIGHT,
384- .move_down = JOYCON_LDPAD_DOWN,
385- .drop = JOYCON_X,
386- .hold = JOYCON_B,
387- .pause = JOYCON_MINUS,
388- .open_settings = JOYCON_PLUS };
379+ {
380+ .identification =
381+ JoystickIdentification{ .guid = SwitchJoystickInput_Type1::guid, .name = " Switch Controller" },
382+ .rotate_left = JOYCON_DPAD_LEFT,
383+ .rotate_right = JOYCON_DPAD_RIGHT,
384+ .move_left = JOYCON_LDPAD_LEFT,
385+ .move_right = JOYCON_LDPAD_RIGHT,
386+ .move_down = JOYCON_LDPAD_DOWN,
387+ .drop = JOYCON_X,
388+ .hold = JOYCON_B,
389+ .pause = JOYCON_MINUS,
390+ .open_settings = JOYCON_PLUS
391+ };
389392
390393 return settings;
391394}
@@ -534,16 +537,19 @@ input::_3DSJoystickInput_Type1::_3DSJoystickInput_Type1(
534537[[nodiscard]] input::AbstractJoystickSettings<input::console::SettingsType>
535538input::_3DSJoystickInput_Type1::default_settings_raw () const {
536539 const AbstractJoystickSettings<console::SettingsType> settings = //
537- { .identification = JoystickIdentification{},
538- .rotate_left = JOYCON_L,
539- .rotate_right = JOYCON_R,
540- .move_left = JOYCON_DPAD_LEFT,
541- .move_right = JOYCON_DPAD_RIGHT,
542- .move_down = JOYCON_DPAD_DOWN,
543- .drop = JOYCON_X,
544- .hold = JOYCON_B,
545- .pause = JOYCON_START,
546- .open_settings = JOYCON_SELECT };
540+ {
541+ .identification =
542+ JoystickIdentification{ .guid = _3DSJoystickInput_Type1::guid, .name = " Nintendo 3DS" },
543+ .rotate_left = JOYCON_L,
544+ .rotate_right = JOYCON_R,
545+ .move_left = JOYCON_DPAD_LEFT,
546+ .move_right = JOYCON_DPAD_RIGHT,
547+ .move_down = JOYCON_DPAD_DOWN,
548+ .drop = JOYCON_X,
549+ .hold = JOYCON_B,
550+ .pause = JOYCON_START,
551+ .open_settings = JOYCON_SELECT
552+ };
547553
548554 return settings;
549555}
0 commit comments