Skip to content

Commit

Permalink
SDL_scancode.h: Updating HID usage tables link
Browse files Browse the repository at this point in the history
  • Loading branch information
Sackzement authored and slouken committed May 15, 2024
1 parent 1796511 commit 1103294
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/SDL3/SDL_scancode.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* in the `keysym.scancode` field of the SDL_KeyboardEvent structure.
*
* The values in this enumeration are based on the USB usage page standard:
* https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf
* https://usb.org/sites/default/files/hut1_5.pdf
*
* \since This enum is available since SDL 3.0.0.
*/
Expand Down Expand Up @@ -349,7 +349,6 @@ typedef enum SDL_Scancode
* \name Usage page 0x0C
*
* These values are mapped from usage page 0x0C (USB consumer page).
* See https://usb.org/sites/default/files/hut1_2.pdf
*
* There are way more keys in the spec than we can represent in the
* current scancode range, so pick the ones that commonly come up in
Expand Down

0 comments on commit 1103294

Please sign in to comment.