OpenTTD Source 20241224-master-gf74b0cf984
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 28 of file hotkeys.cpp.

Field Documentation

◆ keycode

WindowKeyCodes KeycodeNames::keycode

The keycode.

Definition at line 30 of file hotkeys.cpp.

◆ name

const std::string_view KeycodeNames::name

Name of the keycode.

Definition at line 29 of file hotkeys.cpp.


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