From 9623ec8bf1ed30cb03219efa8df261c245784520 Mon Sep 17 00:00:00 2001 From: Anthony Rose Date: Mon, 13 Jan 2025 13:53:36 +0000 Subject: [PATCH] Force \ and | on (US) backslash key --- ahk/acp-keyboard.ahk | 8 ++++---- spec.html | 14 +++++++------- xkb/symbols/acp | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ahk/acp-keyboard.ahk b/ahk/acp-keyboard.ahk index 381d21b..aaf66f9 100644 --- a/ahk/acp-keyboard.ahk +++ b/ahk/acp-keyboard.ahk @@ -525,11 +525,11 @@ dead_macron := Map.Call( ; C12 - SC02B ; ->!SC02B::Send "" -<^>!SC02B::Send "" +>!SC02B::Send "{U+005C}" +<^>!SC02B::Send "{U+005C}" ; ->!+SC02B::Send "" -<^>!+SC02B::Send "" +>!+SC02B::Send "{U+007C}" +<^>!+SC02B::Send "{U+007C}" diff --git a/spec.html b/spec.html index bfd4f88..62ac467 100644 --- a/spec.html +++ b/spec.html @@ -42,7 +42,7 @@ -

ACP Keyboard v4.9.0

+

ACP Keyboard v4.10.0

  1. Rationale
  2. Images
  3. @@ -409,8 +409,8 @@ \ | - - + \ + | @@ -780,8 +780,8 @@ \ | - - + \ + | @@ -1248,8 +1248,8 @@ SC02B U+005C \ U+007C | - - + U+005C \ + U+007C | diff --git a/xkb/symbols/acp b/xkb/symbols/acp index 2242797..556423d 100644 --- a/xkb/symbols/acp +++ b/xkb/symbols/acp @@ -41,7 +41,7 @@ xkb_symbols "basic" { key { [ U006C, U004C, U00F4, U00D4 ] }; // l L ô Ô key { [ U003B, U003A, U003B, U003A ] }; // ; : ; : key { [ U0027, U0022, U201A, U201E ] }; // ' " ‚ „ - key { [ U005C, U007C, NoSymbol, NoSymbol ] }; // \ | + key { [ U005C, U007C, U005C, U007C ] }; // \ | \ | key { [ U005C, U007C, U00EA, U00CA ] }; // \ | ê Ê key { [ U007A, U005A, U00E6, U00C6 ] }; // z Z æ Æ