38#ifndef __DEV_PS2_TOUCHKIT_HH__
39#define __DEV_PS2_TOUCHKIT_HH__
48struct PS2TouchKitParams;
79 void mouseAt(uint16_t
x, uint16_t y, uint8_t buttons)
override;
void unserialize(CheckpointIn &cp) override
Unserialize an object.
VncInput *const vnc
The vnc server we're connected to (if any)
bool recvTouchKit(const std::vector< uint8_t > &data)
void sendTouchKit(uint8_t data)
TouchKit(const PS2TouchKitParams &p)
void mouseAt(uint16_t x, uint16_t y, uint8_t buttons) override
called whenever the mouse moves or it's button state changes buttons is a simple mask with each butto...
void sendTouchKit(const uint8_t *data, size_t size)
bool touchKitEnabled
Has the driver enabled TouchKit mode? The model suppresses touch event generation until this is true.
void serialize(CheckpointOut &cp) const override
Serialize an object.
bool enabled
Is the device enabled?
bool recv(const std::vector< uint8_t > &data) override
Data received from host.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::ostream CheckpointOut
GEM5_DEPRECATED_CLASS(PS2TouchKit, gem5::ps2::TouchKit)