You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SDK_USAGE.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ By default, the mode is set to HID
105
105
106
106
### Notes
107
107
108
-
-`VirtualKey` and `VirtualKeyTranslate`are only available on Windows
108
+
-`VirtualKeyTranslate`is only available on Windows
109
109
- With all modes except `VirtualKeyTranslate`, the key identifier will point to the physical key on the standard layout. i.e. if you ask for the Q key, it will be the key right to tab regardless of the layout you have selected
110
110
- With `VirtualKeyTranslate`, if you request Q, it will be the key that inputs Q on the current layout, not the key that is Q on the standard layout.
111
111
@@ -165,9 +165,9 @@ The `device_id` can be found through calling [Get Device Info](#get-connected-de
165
165
```
166
166
wooting_analog_set_mode(KeycodeType::ScanCode1);
167
167
wooting_analog_read_analog(0x10); //This will get you the value for the key which is Q in the standard US layout (The key just right to tab)
168
-
wooting_analog_set_mode(KeycodeType::VirtualKey); //This will only work on Windows
168
+
wooting_analog_set_mode(KeycodeType::VirtualKey);
169
169
wooting_analog_read_analog(0x51); //This will get you the value for the key that is Q on the standard layout
170
-
wooting_analog_set_mode(KeycodeType::VirtualKeyTranslate); //Also will only work on Windows
170
+
wooting_analog_set_mode(KeycodeType::VirtualKeyTranslate); //This will only work on Windows
171
171
wooting_analog_read_analog(0x51); //This will get you the value for the key that inputs Q on the current layout
0 commit comments