shithub: fork

Download patch

ref: 6462a2abc900c4bf85140ce521589e732b5e86a6
parent: 40125e7a666463a6b2bd4a432cfc31ca13de89c3
author: qwx <qwx@sciops.net>
date: Sat Sep 13 22:17:27 EDT 2025

kbdfs, keyboard: add Kstop, multimedia stop

--- a/sys/include/keyboard.h
+++ b/sys/include/keyboard.h
@@ -53,6 +53,7 @@
 	Kmute=	KF|0x27,	/* (un)mute */
 	Kbrtdn=	KF|0x28,	/* brightness decrement */
 	Kbrtup=	KF|0x29,	/* brightness increment */
+	Kstop=  KF|0x32,
 
 	Krshift=	KF|0x30,
 	Krctl=	KF|0x31,
--- a/sys/src/cmd/aux/kbdfs/kbdfs.c
+++ b/sys/src/cmd/aux/kbdfs/kbdfs.c
@@ -205,7 +205,7 @@
 	[0x08]	0,	0,	0,	0,	0,	0,	0,	0,
 	[0x10]	Ksbwd,	Kbrtdn,	0,	0,	0,	0,	0,	0,
 	[0x18]	0,	Ksfwd,	Kbrtup,	0,	'\n',	Krctl,	0,	0,
-	[0x20]	Kmute,	0,	Kpause,	0,	0,	0,	0,	0,
+	[0x20]	Kmute,	0,	Kpause,	0,	Kstop,	0,	0,	0,
 	[0x28]	0,	0,	0,	0,	0,	0,	Kvoldn,	0,
 	[0x30]	Kvolup,	0,	0,	0,	0,	'/',	0,	Kprint,
 	[0x38]	Kaltgr,	0,	0,	0,	0,	0,	0,	0,
--