gem5  v22.1.0.0
Public Member Functions | List of all members
gem5::VncMouse Class Referenceabstract

#include <vncinput.hh>

Inheritance diagram for gem5::VncMouse:
gem5::ps2::TouchKit

Public Member Functions

virtual void mouseAt (uint16_t x, uint16_t y, uint8_t buttons)=0
 called whenever the mouse moves or it's button state changes buttons is a simple mask with each button (0-8) corresponding to a bit position in the byte with 1 being down and 0 being up More...
 

Detailed Description

Definition at line 75 of file vncinput.hh.

Member Function Documentation

◆ mouseAt()

virtual void gem5::VncMouse::mouseAt ( uint16_t  x,
uint16_t  y,
uint8_t  buttons 
)
pure virtual

called whenever the mouse moves or it's button state changes buttons is a simple mask with each button (0-8) corresponding to a bit position in the byte with 1 being down and 0 being up

Parameters
xthe x position of the mouse
ythe y position of the mouse
buttosthe button state as described above

Implemented in gem5::ps2::TouchKit.

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


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

Generated on Wed Dec 21 2022 10:23:12 for gem5 by doxygen 1.9.1