summaryrefslogtreecommitdiff
path: root/src/dev/ps2/PS2.py
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2018-04-09 18:38:33 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2018-04-17 08:46:44 +0000
commitc85d51e6d62a9591bd5b99dcb0146aae5dbee43f (patch)
treeebb25798b77aaf1e957f5e95030756818d7e9e38 /src/dev/ps2/PS2.py
parent0f7710d4f7898e1244774d7158786639ae1131f4 (diff)
downloadgem5-c85d51e6d62a9591bd5b99dcb0146aae5dbee43f.tar.xz
ps2: Add a simple touchscreen model
Add a touchscreen model that is compatible with Linux's TouchKit driver. This model is based on the model in the Arm PL050 KMI model. Change-Id: Id4d88a21a26bb42c455e4d778cd89875f650ac57 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/9764 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/dev/ps2/PS2.py')
-rw-r--r--src/dev/ps2/PS2.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dev/ps2/PS2.py b/src/dev/ps2/PS2.py
index fcbbc28c3..55b37f2e5 100644
--- a/src/dev/ps2/PS2.py
+++ b/src/dev/ps2/PS2.py
@@ -53,3 +53,9 @@ class PS2Keyboard(PS2Device):
class PS2Mouse(PS2Device):
type = 'PS2Mouse'
cxx_header = "dev/ps2/mouse.hh"
+
+class PS2TouchKit(PS2Device):
+ type = 'PS2TouchKit'
+ cxx_header = "dev/ps2/touchkit.hh"
+
+ vnc = Param.VncInput(Parent.any, "VNC server providing mouse input")