Skip to main content

KeyboardEventArgs Class

Package: GHIElectronics.Endpoint.Devices.UsbHost
Namespace: GHIElectronics.Endpoint.Devices.UsbHost

Event arguments for the keyboard events.

class KeyboardEventArgs : public EventArgs {};

Constructors​

KeyboardEventArgs()​

KeyboardEventArgs();

Properties​

Ascii​

char Ascii() const;
void Ascii(char value);

The ASCII representation of the key, if available. Otherwise, this value is 0.

Returns char

Which​

Key Which() const;
void Which(Key value);

The Key associated with the event.

Returns Key