Comments (8)
I'm not so sure about the renaming to ...QUOTE
anymore.
A lot of platforms call the characters GRAVE
and APOSTROPHE
.
Maybe it's better to rename the keycodes to SDLK_APOSTROPHE
and SDLK_GRAVE
.
from sdl.
These are based on the scancode names in the USB standard and we have no plans to change that.
from sdl.
Then what about changing the keycode names to be similar to their scancode equivalents?
from sdl.
That seems reasonable. I'm not sure why they're different. @icculus, thoughts?
from sdl.
keycodes were already available in 1.0 and scancodes were introduced in 2.0 with the specification names.
I guess the names just stuck around.
I like the keycode "quote" names more, but it would be less confusing if they are named after the scancode names.
Edit:
Platform specific scancode names were already available in 1.0, official SDL scancode names were available in 2.0.
from sdl.
Yeah, it's almost certainly a leftover from SDL 1.x...let's make them match the scancode names.
(And if the scancode names match the HID spec, they stay as they are.)
from sdl.
Please use build-scripts/rename_api.py to make any renaming changes.
from sdl.
Please use build-scripts/rename_api.py to make any renaming changes.
👍
from sdl.
Related Issues (20)
- [SDL2][Audio] Performance issues on Linux CI builds HOT 5
- SDL_Version.h visibility and intermediate versions bumps HOT 8
- Android: build failure with ndk 27-beta1 due to use of deprecated ALooper_pollAll HOT 2
- Confused about warp requirements. HOT 2
- [SDL3] Video subsystem memory leak? HOT 3
- Android CMake 3.18.1 - configure phase fails HOT 1
- Windows: SDL reports incorrect height when window height is 0 HOT 2
- Could somebody give me a prebuilt version for ios HOT 1
- SDL 3 Cursor freeze when switching Windowed <-> Fullscreen with hidden cursor on Wayland HOT 5
- A few keycode/scancode renaming suggestions HOT 1
- SDL3 Android crash SDL_free / SDL_DelTouch HOT 14
- Some bitflags still need a typedef. HOT 1
- Occasional macOS CI failures HOT 4
- Add SDL_CreateTexture from some shared texture HOT 5
- Question: Why is SDL still built on C90? HOT 2
- Add SDL_AcquireCameraFrame as SDL_Texture 0-copy texture. HOT 1
- SDL 3 Cursor misbehavior switching from Fullscreen to Windowed in Wayland when cursor is hidden HOT 8
- SDL_CloseAudioDevice hangs when closing a stream initialized with a very low audio rate. (SDL2, PulseAudio) HOT 9
- [SDL2 Vita] Wrong touch IDs gets assigned to touch devices HOT 2
- SDL2 and SDL example from action not detecting controller in Android 14 HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.