xref: /linux/Documentation/ABI/testing/sysfs-driver-hid-lenovo-go-s (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1What:		/sys/class/leds/go_s:rgb:joystick_rings/effect
2Date:		April 2026
3Contact:	linux-input@vger.kernel.org
4Description:	This controls the display effect of the RGB interface.
5
6		Values are monocolor, breathe, chroma, or rainbow.
7
8		Applies to Lenovo Legion Go S line of handheld devices.
9
10What:		/sys/class/leds/go_s:rgb:joystick_rings/effect_index
11Date:		April 2026
12Contact:	linux-input@vger.kernel.org
13Description:	This displays the available options for the effect attribute.
14
15		Values are monocolor, breathe, chroma, or rainbow.
16
17		Applies to Lenovo Legion Go S line of handheld devices.
18
19What:		/sys/class/leds/go_s:rgb:joystick_rings/enabled
20Date:		April 2026
21Contact:	linux-input@vger.kernel.org
22Description:	This controls enabling or disabling the RGB interface.
23
24		Values are true or false.
25
26		Applies to Lenovo Legion Go S line of handheld devices.
27
28What:		/sys/class/leds/go_s:rgb:joystick_rings/enabled_index
29Date:		April 2026
30Contact:	linux-input@vger.kernel.org
31Description:	This displays the available options for the enabled attribute.
32
33		Values are true or false.
34
35		Applies to Lenovo Legion Go S line of handheld devices.
36
37What:		/sys/class/leds/go_s:rgb:joystick_rings/mode
38Date:		April 2026
39Contact:	linux-input@vger.kernel.org
40Description:	This controls the operating mode of the RGB interface.
41
42		Values are dynamic or custom. Custom allows setting the RGB effect and color.
43    Dynamic is a Windows mode for syncing Lenovo RGB interfaces not currently
44    supported under Linux.
45
46		Applies to Lenovo Legion Go S line of handheld devices.
47
48What:		/sys/class/leds/go_s:rgb:joystick_rings/mode_index
49Date:		April 2026
50Contact:	linux-input@vger.kernel.org
51Description:	This displays the available options for the mode attribute.
52
53		Values are dynamic or custom.
54
55		Applies to Lenovo Legion Go S line of handheld devices.
56
57What:		/sys/class/leds/go_s:rgb:joystick_rings/profile
58Date:		April 2026
59Contact:	linux-input@vger.kernel.org
60Description:	This controls selecting the configured RGB profile.
61
62		Values are 1-3.
63
64		Applies to Lenovo Legion Go S line of handheld devices.
65
66What:		/sys/class/leds/go_s:rgb:joystick_rings/profile_range
67Date:		April 2026
68Contact:	linux-input@vger.kernel.org
69Description:	This displays the available options for the profile attribute.
70
71		Values are 1-3.
72
73		Applies to Lenovo Legion Go S line of handheld devices.
74
75What:		/sys/class/leds/go_s:rgb:joystick_rings/speed
76Date:		April 2026
77Contact:	linux-input@vger.kernel.org
78Description:	This controls the change rate for the breathe, chroma, and rainbow effects.
79
80		Values are 0-100.
81
82		Applies to Lenovo Legion Go S line of handheld devices.
83
84What:		/sys/class/leds/go_s:rgb:joystick_rings/speed_range
85Date:		April 2026
86Contact:	linux-input@vger.kernel.org
87Description:	This displays the available options for the speed attribute.
88
89		Values are 0-100.
90
91		Applies to Lenovo Legion Go S line of handheld devices.
92
93What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/gamepad/auto_sleep_time
94Date:		April 2026
95Contact:	linux-input@vger.kernel.org
96Description:	This controls the sleep timer due to inactivity for the built-in controller.
97
98		Values are 0-255.
99
100		Applies to Lenovo Legion Go S line of handheld devices.
101
102What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/gamepad/auto_sleep_time_range
103Date:		April 2026
104Contact:	linux-input@vger.kernel.org
105Description:	This displays the available options for the gamepad/auto_sleep_time attribute.
106
107		Values are 0-255.
108
109		Applies to Lenovo Legion Go S line of handheld devices.
110
111What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/gamepad/dpad_mode
112Date:		April 2026
113Contact:	linux-input@vger.kernel.org
114Description:	This controls the operating mode of the built-in controllers D-pad.
115
116		Values are 4-way or 8-way.
117
118		Applies to Lenovo Legion Go S line of handheld devices.
119
120What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/gamepad/dpad_mode_index
121Date:		April 2026
122Contact:	linux-input@vger.kernel.org
123Description:	This displays the available options for the gamepad/dpad_mode attribute.
124
125		Values are 4-way or 8-way.
126
127		Applies to Lenovo Legion Go S line of handheld devices.
128
129What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/gamepad/mode
130Date:		April 2026
131Contact:	linux-input@vger.kernel.org
132Description:	This controls the operating mode of the built-in controller.
133
134		Values are xinput or dinput.
135
136		Applies to Lenovo Legion Go S line of handheld devices.
137
138What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/gamepad/mode_index
139Date:		April 2026
140Contact:	linux-input@vger.kernel.org
141Description:	This displays the available options for the gamepad/mode attribute.
142
143		Values are xinput or dinput.
144
145		Applies to Lenovo Legion Go S line of handheld devices.
146
147What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/gamepad/poll_rate
148Date:		April 2026
149Contact:	linux-input@vger.kernel.org
150Description:	This controls the poll rate in Hz of the built-in controller.
151
152		Values are 125, 250, 500, or 1000.
153
154		Applies to Lenovo Legion Go S line of handheld devices.
155
156What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/gamepad/poll_rate_index
157Date:		April 2026
158Contact:	linux-input@vger.kernel.org
159Description:	This displays the available options for the gamepad/poll_rate attribute.
160
161		Values are 125, 250, 500, or 1000.
162
163		Applies to Lenovo Legion Go S line of handheld devices.
164
165What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/imu/bypass_enabled
166Date:		April 2026
167Contact:	linux-input@vger.kernel.org
168Description:	This controls enabling or disabling the IMU bypass function. When enabled the IMU data is directly reported to the OS through
169an HIDRAW interface.
170
171		Values are true or false.
172
173		Applies to Lenovo Legion Go S line of handheld devices.
174
175What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/imu/bypass_enabled_index
176Date:		April 2026
177Contact:	linux-input@vger.kernel.org
178Description:	This displays the available options for the imu/bypass_enabled attribute.
179
180		Values are true or false.
181
182What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/imu/manufacturer
183Date:		April 2026
184Contact:	linux-input@vger.kernel.org
185Description:	This displays the manufacturer of the intertial measurment unit.
186
187		Values are Bosch or ST.
188
189		Applies to Lenovo Legion Go S line of handheld devices.
190
191What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/imu/sensor_enabled
192Date:		April 2026
193Contact:	linux-input@vger.kernel.org
194Description:	This controls enabling or disabling the IMU.
195
196		Values are true, false, or wake-2s.
197
198		Applies to Lenovo Legion Go S line of handheld devices.
199
200What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/imu/sensor_enabled_index
201Date:		April 2026
202Contact:	linux-input@vger.kernel.org
203Description:	This displays the available options for the imu/sensor_enabled attribute.
204
205		Values are true, false, or wake-2s.
206
207		Applies to Lenovo Legion Go S line of handheld devices.
208
209What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/mcu_id
210Date:		April 2026
211Contact:	linux-input@vger.kernel.org
212Description:	This displays the MCU Identification Number
213
214		Applies to Lenovo Legion Go S line of handheld devices.
215
216What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/mouse/step
217Date:		April 2026
218Contact:	linux-input@vger.kernel.org
219Description:	This controls which value is used for the mouse sensitivity.
220
221		Values are 1-127.
222
223		Applies to Lenovo Legion Go S line of handheld devices.
224
225What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/mouse/step_range
226Date:		April 2026
227Contact:	linux-input@vger.kernel.org
228Description:	This displays the available options for the mouse/step attribute.
229
230		Values are 1-127.
231
232		Applies to Lenovo Legion Go S line of handheld devices.
233
234What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode
235Date:		April 2026
236Contact:	linux-input@vger.kernel.org
237Description:	This controls which value is used for the touchpads operating mode.
238
239		Values are windows or linux.
240
241		Applies to Lenovo Legion Go S line of handheld devices.
242
243What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/os_mode_index
244Date:		April 2026
245Contact:	linux-input@vger.kernel.org
246Description:	This displays the available options for the os_mode attribute.
247
248		Values are windows or linux.
249
250		Applies to Lenovo Legion Go S line of handheld devices.
251
252What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled
253Date:		April 2026
254Contact:	linux-input@vger.kernel.org
255Description:	This controls enabling or disabling the built-in touchpad.
256
257		Values are true or false.
258
259		Applies to Lenovo Legion Go S line of handheld devices.
260
261What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/enabled_index
262Date:		April 2026
263Contact:	linux-input@vger.kernel.org
264Description:	This displays the available options for the touchpad/enabled attribute.
265
266		Values are true or false.
267
268		Applies to Lenovo Legion Go S line of handheld devices.
269
270What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/linux_mode
271Date:		April 2026
272Contact:	linux-input@vger.kernel.org
273Description:	This controls behavior of the touchpad events when os_mode is set to linux.
274
275		Values are absolute or relative.
276
277		Applies to Lenovo Legion Go S line of handheld devices.
278
279What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/linux_mode_index
280Date:		April 2026
281Contact:	linux-input@vger.kernel.org
282Description:	This displays the available options for the touchpad/linux_mode attribute.
283
284		Values are absolute or relative.
285
286		Applies to Lenovo Legion Go S line of handheld devices.
287
288What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/windows_mode
289Date:		April 2026
290Contact:	linux-input@vger.kernel.org
291Description:	This controls behavior of the touchpad events when os_mode is set to windows.
292
293		Values are absolute or relative.
294
295		Applies to Lenovo Legion Go S line of handheld devices.
296
297What:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/touchpad/windows_mode_index
298Date:		April 2026
299Contact:	linux-input@vger.kernel.org
300Description:	This displays the available options for the touchpad/windows_mode attribute.
301
302		Values are absolute or relative.
303
304		Applies to Lenovo Legion Go S line of handheld devices.
305