OpenTTD Source: SDLVkMapping Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Data Fields
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:

- src/video/sdl2_v.cpp
- src/video/sdl_v.cpp