xkeyboard-config/xkeyboard-config.powerbook-usb-iso-keyboard.patch

29 lines
638 B
Diff
Raw Normal View History

The kernel has to deliver correct keys for ^° / <> on Powerbooks
with built-in USB ISO keyboard
This was finally corrected in the kernel.
---
keycodes/macintosh | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
Index: keycodes/macintosh
===================================================================
--- keycodes/macintosh.orig
+++ keycodes/macintosh
@@ -38,14 +38,11 @@ default xkb_keycodes "macintosh" {
};
+// not required, this was a kernel bug
xkb_keycodes "badmap" {
- <TLDE> = 94;
- <LSGT> = 49;
};
xkb_keycodes "goodmap" {
- <TLDE> = 49;
- <LSGT> = 94;
};
xkb_keycodes "old" {