OpenTTD Source 20241224-master-gee860a5c8e
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)
 
constexpr SDLVkMapping (SDLKey vk_first, SDLKey vk_last, uint8_t map_first, uint8_t map_last)
 

Data Fields

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

Detailed Description

Definition at line 242 of file sdl2_v.cpp.

Constructor & Destructor Documentation

◆ SDLVkMapping() [1/2]

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.

◆ SDLVkMapping() [2/2]

constexpr SDLVkMapping::SDLVkMapping ( SDLKey  vk_first,
SDLKey  vk_last,
uint8_t  map_first,
uint8_t  map_last 
)
inlineconstexpr

Definition at line 380 of file sdl_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 [1/2]

const SDL_Keycode SDLVkMapping::vk_from

Definition at line 243 of file sdl2_v.cpp.

◆ vk_from [2/2]

const uint16_t SDLVkMapping::vk_from

Definition at line 376 of file sdl_v.cpp.


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