@@ -69,48 +69,48 @@ struct emulated_logitech_g27_config : cfg::node
6969 // TODO these defaults are for a shifter-less G29 + a xbox controller for shifter testing, perhaps find a new default
7070 // TODO, when a new default is found, use the new device type id style
7171
72- emulated_logitech_g27_mapping steering{this , " steering" , 0x046dc24f , sdl_mapping_type::axis, 0 , hat_component::none, false };
73- emulated_logitech_g27_mapping throttle{this , " throttle" , 0x046dc24f , sdl_mapping_type::axis, 2 , hat_component::none, false };
74- emulated_logitech_g27_mapping brake{this , " brake" , 0x046dc24f , sdl_mapping_type::axis, 3 , hat_component::none, false };
75- emulated_logitech_g27_mapping clutch{this , " clutch" , 0x046dc24f , sdl_mapping_type::axis, 1 , hat_component::none, false };
76- emulated_logitech_g27_mapping shift_up{this , " shift_up" , 0x046dc24f , sdl_mapping_type::button, 4 , hat_component::none, false };
77- emulated_logitech_g27_mapping shift_down{this , " shift_down" , 0x046dc24f , sdl_mapping_type::button, 5 , hat_component::none, false };
78-
79- emulated_logitech_g27_mapping up{this , " up" , 0x046dc24f , sdl_mapping_type::hat, 0 , hat_component::up, false };
80- emulated_logitech_g27_mapping down{this , " down" , 0x046dc24f , sdl_mapping_type::hat, 0 , hat_component::down, false };
81- emulated_logitech_g27_mapping left{this , " left" , 0x046dc24f , sdl_mapping_type::hat, 0 , hat_component::left, false };
82- emulated_logitech_g27_mapping right{this , " right" , 0x046dc24f , sdl_mapping_type::hat, 0 , hat_component::right, false };
83-
84- emulated_logitech_g27_mapping triangle{this , " triangle" , 0x046dc24f , sdl_mapping_type::button, 3 , hat_component::none, false };
85- emulated_logitech_g27_mapping cross{this , " cross" , 0x046dc24f , sdl_mapping_type::button, 0 , hat_component::none, false };
86- emulated_logitech_g27_mapping square{this , " square" , 0x046dc24f , sdl_mapping_type::button, 1 , hat_component::none, false };
87- emulated_logitech_g27_mapping circle{this , " circle" , 0x046dc24f , sdl_mapping_type::button, 2 , hat_component::none, false };
88-
89- emulated_logitech_g27_mapping l2{this , " l2" , 0x046dc24f , sdl_mapping_type::button, 7 , hat_component::none, false };
90- emulated_logitech_g27_mapping l3{this , " l3" , 0x046dc24f , sdl_mapping_type::button, 11 , hat_component::none, false };
91- emulated_logitech_g27_mapping r2{this , " r2" , 0x046dc24f , sdl_mapping_type::button, 6 , hat_component::none, false };
92- emulated_logitech_g27_mapping r3{this , " r3" , 0x046dc24f , sdl_mapping_type::button, 10 , hat_component::none, false };
93-
94- emulated_logitech_g27_mapping plus{this , " plus" , 0x046dc24f , sdl_mapping_type::button, 19 , hat_component::none, false };
95- emulated_logitech_g27_mapping minus{this , " minus" , 0x046dc24f , sdl_mapping_type::button, 20 , hat_component::none, false };
96-
97- emulated_logitech_g27_mapping dial_clockwise{this , " dial_clockwise" , 0x046dc24f , sdl_mapping_type::button, 21 , hat_component::none, false };
98- emulated_logitech_g27_mapping dial_anticlockwise{this , " dial_anticlockwise" , 0x046dc24f , sdl_mapping_type::button, 22 , hat_component::none, false };
99-
100- emulated_logitech_g27_mapping select{this , " select" , 0x046dc24f , sdl_mapping_type::button, 8 , hat_component::none, false };
101- emulated_logitech_g27_mapping pause{this , " pause" , 0x046dc24f , sdl_mapping_type::button, 9 , hat_component::none, false };
102-
103- emulated_logitech_g27_mapping shifter_1{this , " shifter_1" , 0x045e028e , sdl_mapping_type::button, 3 , hat_component::none, false };
104- emulated_logitech_g27_mapping shifter_2{this , " shifter_2" , 0x045e028e , sdl_mapping_type::button, 0 , hat_component::none, false };
105- emulated_logitech_g27_mapping shifter_3{this , " shifter_3" , 0x045e028e , sdl_mapping_type::button, 2 , hat_component::none, false };
106- emulated_logitech_g27_mapping shifter_4{this , " shifter_4" , 0x045e028e , sdl_mapping_type::button, 1 , hat_component::none, false };
107- emulated_logitech_g27_mapping shifter_5{this , " shifter_5" , 0x045e028e , sdl_mapping_type::hat, 0 , hat_component::up, false };
108- emulated_logitech_g27_mapping shifter_6{this , " shifter_6" , 0x045e028e , sdl_mapping_type::hat, 0 , hat_component::down, false };
109- emulated_logitech_g27_mapping shifter_r{this , " shifter_r" , 0x045e028e , sdl_mapping_type::hat, 0 , hat_component::left, false };
110-
111- cfg::_bool reverse_effects{this , " reverse_effects" , true };
112- cfg::uint<0 , 0xFFFFFFFFFFFFFFFF > ffb_device_type_id{this , " ffb_device_type_id" , 0x046dc24f };
113- cfg::uint<0 , 0xFFFFFFFFFFFFFFFF > led_device_type_id{this , " led_device_type_id" , 0x046dc24f };
72+ emulated_logitech_g27_mapping steering{this , " steering" , 0 , sdl_mapping_type::axis, 0 , hat_component::none, false };
73+ emulated_logitech_g27_mapping throttle{this , " throttle" , 0 , sdl_mapping_type::axis, 2 , hat_component::none, false };
74+ emulated_logitech_g27_mapping brake{this , " brake" , 0 , sdl_mapping_type::axis, 3 , hat_component::none, false };
75+ emulated_logitech_g27_mapping clutch{this , " clutch" , 0 , sdl_mapping_type::axis, 1 , hat_component::none, false };
76+ emulated_logitech_g27_mapping shift_up{this , " shift_up" , 0 , sdl_mapping_type::button, 4 , hat_component::none, false };
77+ emulated_logitech_g27_mapping shift_down{this , " shift_down" , 0 , sdl_mapping_type::button, 5 , hat_component::none, false };
78+
79+ emulated_logitech_g27_mapping up{this , " up" , 0 , sdl_mapping_type::hat, 0 , hat_component::up, false };
80+ emulated_logitech_g27_mapping down{this , " down" , 0 , sdl_mapping_type::hat, 0 , hat_component::down, false };
81+ emulated_logitech_g27_mapping left{this , " left" , 0 , sdl_mapping_type::hat, 0 , hat_component::left, false };
82+ emulated_logitech_g27_mapping right{this , " right" , 0 , sdl_mapping_type::hat, 0 , hat_component::right, false };
83+
84+ emulated_logitech_g27_mapping triangle{this , " triangle" , 0 , sdl_mapping_type::button, 3 , hat_component::none, false };
85+ emulated_logitech_g27_mapping cross{this , " cross" , 0 , sdl_mapping_type::button, 0 , hat_component::none, false };
86+ emulated_logitech_g27_mapping square{this , " square" , 0 , sdl_mapping_type::button, 1 , hat_component::none, false };
87+ emulated_logitech_g27_mapping circle{this , " circle" , 0 , sdl_mapping_type::button, 2 , hat_component::none, false };
88+
89+ emulated_logitech_g27_mapping l2{this , " l2" , 0 , sdl_mapping_type::button, 7 , hat_component::none, false };
90+ emulated_logitech_g27_mapping l3{this , " l3" , 0 , sdl_mapping_type::button, 11 , hat_component::none, false };
91+ emulated_logitech_g27_mapping r2{this , " r2" , 0 , sdl_mapping_type::button, 6 , hat_component::none, false };
92+ emulated_logitech_g27_mapping r3{this , " r3" , 0 , sdl_mapping_type::button, 10 , hat_component::none, false };
93+
94+ emulated_logitech_g27_mapping plus{this , " plus" , 0 , sdl_mapping_type::button, 19 , hat_component::none, false };
95+ emulated_logitech_g27_mapping minus{this , " minus" , 0 , sdl_mapping_type::button, 20 , hat_component::none, false };
96+
97+ emulated_logitech_g27_mapping dial_clockwise{this , " dial_clockwise" , 0 , sdl_mapping_type::button, 21 , hat_component::none, false };
98+ emulated_logitech_g27_mapping dial_anticlockwise{this , " dial_anticlockwise" , 0 , sdl_mapping_type::button, 22 , hat_component::none, false };
99+
100+ emulated_logitech_g27_mapping select{this , " select" , 0 , sdl_mapping_type::button, 8 , hat_component::none, false };
101+ emulated_logitech_g27_mapping pause{this , " pause" , 0 , sdl_mapping_type::button, 9 , hat_component::none, false };
102+
103+ emulated_logitech_g27_mapping shifter_1{this , " shifter_1" , 0 , sdl_mapping_type::button, 3 , hat_component::none, false };
104+ emulated_logitech_g27_mapping shifter_2{this , " shifter_2" , 0 , sdl_mapping_type::button, 0 , hat_component::none, false };
105+ emulated_logitech_g27_mapping shifter_3{this , " shifter_3" , 0 , sdl_mapping_type::button, 2 , hat_component::none, false };
106+ emulated_logitech_g27_mapping shifter_4{this , " shifter_4" , 0 , sdl_mapping_type::button, 1 , hat_component::none, false };
107+ emulated_logitech_g27_mapping shifter_5{this , " shifter_5" , 0 , sdl_mapping_type::hat, 0 , hat_component::up, false };
108+ emulated_logitech_g27_mapping shifter_6{this , " shifter_6" , 0 , sdl_mapping_type::hat, 0 , hat_component::down, false };
109+ emulated_logitech_g27_mapping shifter_r{this , " shifter_r" , 0 , sdl_mapping_type::hat, 0 , hat_component::left, false };
110+
111+ cfg::_bool reverse_effects{this , " reverse_effects" , false };
112+ cfg::uint<0 , 0xFFFFFFFFFFFFFFFF > ffb_device_type_id{this , " ffb_device_type_id" , 0 };
113+ cfg::uint<0 , 0xFFFFFFFFFFFFFFFF > led_device_type_id{this , " led_device_type_id" , 0 };
114114
115115 cfg::_bool enabled{this , " enabled" , false };
116116
0 commit comments