gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::VncKeyboard Class Referenceabstract

A device that expects to receive input from the vnc server should derrive (through mulitple inheritence if necessary from VncKeyboard or VncMouse and call setKeyboard() or setMouse() respectively on the vnc server. More...

#include <vncinput.hh>

Inheritance diagram for gem5::VncKeyboard:
gem5::ps2::PS2Keyboard

Public Member Functions

virtual void keyPress (uint32_t key, bool down)=0
 Called when the vnc server receives a key press event from the client.
 

Detailed Description

A device that expects to receive input from the vnc server should derrive (through mulitple inheritence if necessary from VncKeyboard or VncMouse and call setKeyboard() or setMouse() respectively on the vnc server.

Definition at line 63 of file vncinput.hh.

Member Function Documentation

◆ keyPress()

virtual void gem5::VncKeyboard::keyPress ( uint32_t key,
bool down )
pure virtual

Called when the vnc server receives a key press event from the client.

Parameters
keythe key passed is an x11 keysym
downis the key now down or up?

Implemented in gem5::ps2::PS2Keyboard.

Referenced by gem5::VncServer::recvKeyboardInput().


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

Generated on Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0