laptop remaping
authorIan Kelling <ian@iankelling.org>
Sat, 22 Jun 2024 07:29:53 +0000 (03:29 -0400)
committerIan Kelling <ian@iankelling.org>
Sat, 22 Jun 2024 07:29:53 +0000 (03:29 -0400)
last layout had too much pink presses, and pinky presses that took me
out of the home row.

x2-t12.xkb

index cd513cc49d05055ad15dcb9c695e0773b104db5f..55c64624840a81765b3086002df86bbf180d4904 100644 (file)
@@ -62,14 +62,18 @@ xkb_keycodes "evdev+aliases(qwerty)" {
     #<CAPS> = 66;
     <FK01> = 67;
     <FK02> = 68;
-    <FK03> = 69;
-    <FK04> = 70;
+    # home
+    <FK03> = 110;
+    # end
+    <FK04> = 115;
     <FK05> = 71;
     <FK06> = 72;
     <FK07> = 73;
     <FK08> = 74;
-    <FK09> = 75;
-    <FK10> = 76;
+    # left
+    <FK09> = 113;
+    # up
+    <FK10> = 111;
     <NMLK> = 77;
     <SCLK> = 78;
      <KP7> = 79;
@@ -87,8 +91,10 @@ xkb_keycodes "evdev+aliases(qwerty)" {
     <KPDL> = 91;
     <LVL3> = 92;
     <LSGT> = 94;
-    <FK11> = 95;
-    <FK12> = 66;
+    # down
+    <FK11> = 116;
+    # right
+    <FK12> = 114;
     <AB11> = 97;
     <KATA> = 98;
     <HIRA> = 99;
@@ -102,21 +108,25 @@ xkb_keycodes "evdev+aliases(qwerty)" {
     <PRSC> = 107;
     <RALT> = 135;
     <LNFD> = 109;
-    <HOME> = 110;
-    # todo: 111 & 116 are free keys where up/down r printed. it is an awkward spot, but
-    # i should probably bind it something.
-      <UP> = 105;
+    # f3
+    <HOME> = 69;
+    # f10
+      <UP> = 76;
     <PGUP> = 112;
-    <LEFT> = 113;
-    <RGHT> = 114;
-     <END> = 115;
-    <DOWN> = 37;
+    # f9
+    <LEFT> = 75;
+    # f12
+    <RGHT> = 96;
+    # f4
+     <END> = 70;
+     # f11
+    <DOWN> = 95;
     <PGDN> = 117;
      <INS> = 118;
     <DELE> = 119;
     <I120> = 120;
     <MUTE> = 121;
-    <VOL-> = 122;
+    <VOL-> = 105;
     <VOL+> = 123;
     <POWR> = 124;
     <KPEQ> = 125;
@@ -1471,7 +1481,8 @@ xkb_symbols "pc+us+inet(evdev)+ctrl(nocaps)+terminate(ctrl_alt_bksp)" {
     key <I167> {         [     XF86Forward ] };
     key <I169> {         [       XF86Eject ] };
     key <I170> {         [       XF86Eject ] };
-    key <I171> {         [   XF86AudioNext ] };
+    # left control
+    key <37> {         [   XF86AudioNext ] };
     key <I172> {         [   XF86AudioPlay,  XF86AudioPause ] };
     key <I173> {         [   XF86AudioPrev ] };
     key <I174> {         [   XF86AudioStop,       XF86Eject ] };