Добавить
Уведомления

[Ep. 12] SDL keyboard input with GetKeyboardState | Introduction to SDL2

►SDL2 Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd-p1gSnbQhY7vMe2rng0IL0 ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Git Repo: https://github.com/MikeShah/SDL2_Tutorials ►Lesson Description: In this lesson, I show you how to handle keypresses by handling scan codes. Scancodes and keycodes differ, in that keycodes map to the physical keyboard and return a specific scancode. Some information can be found specifically here on the difference: https://wiki.libsdl.org/CategoryKeyboard 00:00 GetKeyboardState to find all scan codes 1:25 Using SDL_GetKeyboardState to detect keypresses 3:48 SDL_SCANCODES ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/Q29tbXVuaXR5LTI3MzAz

Иконка канала Игровые Секреты
17 подписчиков
12+
13 просмотров
2 года назад
27 октября 2023 г.
12+
13 просмотров
2 года назад
27 октября 2023 г.

►SDL2 Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd-p1gSnbQhY7vMe2rng0IL0 ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Git Repo: https://github.com/MikeShah/SDL2_Tutorials ►Lesson Description: In this lesson, I show you how to handle keypresses by handling scan codes. Scancodes and keycodes differ, in that keycodes map to the physical keyboard and return a specific scancode. Some information can be found specifically here on the difference: https://wiki.libsdl.org/CategoryKeyboard 00:00 GetKeyboardState to find all scan codes 1:25 Using SDL_GetKeyboardState to detect keypresses 3:48 SDL_SCANCODES ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/Q29tbXVuaXR5LTI3MzAz

, чтобы оставлять комментарии