41#ifndef __DEV_PS2_KEYBOARD_HH__
42#define __DEV_PS2_KEYBOARD_HH__
50struct PS2KeyboardParams;
A device that expects to receive input from the vnc server should derrive (through mulitple inheriten...
PS2Keyboard(const PS2KeyboardParams &p)
void serialize(CheckpointOut &cp) const override
Serialize an object.
void keyPress(uint32_t key, bool down) override
Called when the vnc server receives a key press event from the client.
bool enabled
Is the device enabled?
bool recv(const std::vector< uint8_t > &data) override
Data received from host.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
bool shiftDown
is the shift key currently down
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::ostream CheckpointOut