OpenTTD Source 20260206-master-g4d4e37dbf1
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 240 of file sdl2_v.cpp.

Constructor & Destructor Documentation

◆ SDLVkMapping()

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

Definition at line 246 of file sdl2_v.cpp.

Field Documentation

◆ map_to

const uint8_t SDLVkMapping::map_to

Definition at line 243 of file sdl2_v.cpp.

◆ unprintable

const bool SDLVkMapping::unprintable

Definition at line 244 of file sdl2_v.cpp.

◆ vk_count

const uint8_t SDLVkMapping::vk_count

Definition at line 242 of file sdl2_v.cpp.

◆ vk_from

const SDL_Keycode SDLVkMapping::vk_from

Definition at line 241 of file sdl2_v.cpp.


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