OpenTTD Source: KeycodeNames Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
KeycodeNames Struct Reference

String representation of a keycode. More...

## Data Fields
const std::string_view | name
| Name of the keycode.
WindowKeyCodes | keycode
| The keycode.

## Detailed Description

String representation of a keycode.

Definition at line 29 of file hotkeys.cpp.

## Field Documentation

## ◆ keycode

WindowKeyCodes KeycodeNames::keycode

The keycode.

Definition at line 31 of file hotkeys.cpp.

## ◆ name

const std::string_view KeycodeNames::name

Name of the keycode.

Definition at line 30 of file hotkeys.cpp.

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

- src/hotkeys.cpp