OpenTTD Source 20250312-master-gcdcc6b491d
SDLVkMapping Struct Reference

Public Member Functions

constexpr SDLVkMapping (SDL_Keycode vk_first, SDL_Keycode vk_last, uint8_t map_first, uint8_t map_last, bool unprintable)
 

Data Fields

const SDL_Keycode vk_from
 
const uint8_t vk_count
 
const uint8_t map_to
 
const bool unprintable
 

Detailed Description

Definition at line 242 of file sdl2_v.cpp.

Constructor & Destructor Documentation

◆ SDLVkMapping()

constexpr SDLVkMapping::SDLVkMapping ( SDL_Keycode  vk_first,
SDL_Keycode  vk_last,
uint8_t  map_first,
uint8_t  map_last,
bool  unprintable 
)
inlineconstexpr

Definition at line 248 of file sdl2_v.cpp.

Field Documentation

◆ map_to

const uint8_t SDLVkMapping::map_to

Definition at line 245 of file sdl2_v.cpp.

◆ unprintable

const bool SDLVkMapping::unprintable

Definition at line 246 of file sdl2_v.cpp.

◆ vk_count

const uint8_t SDLVkMapping::vk_count

Definition at line 244 of file sdl2_v.cpp.

◆ vk_from

const SDL_Keycode SDLVkMapping::vk_from

Definition at line 243 of file sdl2_v.cpp.


The documentation for this struct was generated from the following file: