Skip to content

Commit

Permalink
Sync SDL3 header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Jan 6, 2025
1 parent 64b3898 commit 2387f48
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SDL3/README/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,6 @@ should be changed to:
SDL_Keymod mod = event.key.mod;
```

The keycode in key events is affected by modifiers by default. e.g. pressing the A key would generate the keycode `SDLK_A`, or 'a', and pressing it while holding the shift key would generate the keycode `SDLK_A`, or 'A'. This behavior can be customized with `SDL_HINT_KEYCODE_OPTIONS`.

The gamepad event structures caxis, cbutton, cdevice, ctouchpad, and csensor have been renamed gaxis, gbutton, gdevice, gtouchpad, and gsensor.

The mouseX and mouseY fields of SDL_MouseWheelEvent have been renamed mouse_x and mouse_y.
Expand Down

0 comments on commit 2387f48

Please sign in to comment.