Index: tools/ew.py
===================================================================
--- tools/ew.py	(revision e0a5d4cfd543daee5dd5a861793ddd18dcb32c0b)
+++ tools/ew.py	(revision 27de6188353ec03e733975d46f2f7bbfeeda7c04)
@@ -174,4 +174,9 @@
 	return ' -device nec-usb-xhci,id=xhci'
 
+def qemu_tablet_options():
+	if is_override('notablet') or (is_override('nousb') and is_override('noxhci')):
+		return ''
+	return ' -device usb-tablet'
+
 def qemu_audio_options():
 	if is_override('nosnd'):
@@ -196,4 +201,6 @@
 	if (not 'xhci' in cfg.keys()) or cfg['xhci']:
 		cmdline += qemu_xhci_options()
+	if (not 'tablet' in cfg.keys()) or cfg['tablet']:
+		cmdline += qemu_tablet_options()
 	if (not 'audio' in cfg.keys()) or cfg['audio']:
 		cmdline += qemu_audio_options()
@@ -304,5 +311,5 @@
 def usage():
 	print("%s - emulator wrapper for running HelenOS\n" % os.path.basename(sys.argv[0]))
-	print("%s [-d] [-h] [-net e1k|rtl8139|ne2k] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci]\n" %
+	print("%s [-d] [-h] [-net e1k|rtl8139|ne2k] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" %
 	    os.path.basename(sys.argv[0]))
 	print("-d\tDry run: do not run the emulation, just print the command line.")
@@ -314,4 +321,5 @@
 	print("-nousb\tDisable USB support, if applicable.")
 	print("-noxhci\tDisable XHCI support, if applicable.")
+	print("-notablet\tDisable USB tablet (use only relative-position PS/2 mouse instead), if applicable.")
 
 def fail(platform, machine):
@@ -357,4 +365,6 @@
 		elif sys.argv[i] == '-noxhci':
 			overrides['noxhci'] = True
+		elif sys.argv[i] == '-notablet':
+			overrides['notablet'] = True
 		else:
 			usage()
