libvirtualhid latest
Cross-platform C++ library for virtual HID devices.
lvh::KeyboardEvent Struct Reference

Keyboard key transition. More...

#include <src/include/libvirtualhid/types.hpp>

Public Attributes

KeyboardKeyCode key_code = 0
 Portable key code.
 
bool prefer_native_scan_code = false
 Whether the backend should prefer a native scan-code translation when scan_code is not provided.
 
bool pressed = false
 Whether the key is pressed.
 
std::uint16_t scan_code = 0
 Optional platform scan code to submit instead of translating key_code.
 
bool uses_normalized_key_code = false
 Whether key_code is normalized to the Windows US English keyboard layout.
 

Detailed Description

Keyboard key transition.


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