Skip to content

Commit

Permalink
Add readme and accented letter é
Browse files Browse the repository at this point in the history
  • Loading branch information
BjAlvestad committed May 29, 2021
1 parent c079ff0 commit 3111323
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
61 changes: 61 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# US International keyboard witout deadkeys overlay

This AHK script is intended to be used with `US` keyboard layout, and maps some of the AltGr hotkeys to the same symbols as `US International` keyboard.

By doing it this way we get a `US international without deadkeys` layout, but without the negative side effect `Ctrl + Alt + ...` shortcuts not working in all programs (since Windows does not treat `AltGr` as a different key).
This script however does treat `right alt` as a different key than `left alt` or `Ctrl + Alt`.

## Keyboard shortcuts

For full list (or to add your own) simply edit the .ahk file in a text editor.

Note that the `RAlt` shortcuts will automatically be deactivated on e.g. Norwegian layout, since it is no longer an `RAlt` button but rather an `AltGr` (aka. `Left Control + Right Alt`).

## Special shortcuts

| Hotkey | Function |
|-----------------|-------------------------------|
| `AltGr + Enter` | Set keyboard language to `US` |
| `RAlt + Enter` | Set keyboard language to `US` |

## Symbols

| Hotkey | Function |
|--------------------|----------|
| `RAlt + 2` | ² |
| `RAlt + 3` | ³ |
| `RAlt + 4` | ¤ |
| `RAlt + 5` ||
| `RAlt + 6` | ¼ |
| `RAlt + 7` | ½ |
| `RAlt + 8` | ¾ |
| `RAlt + 9` ||
| `RAlt + 0` ||
| `RAlt + -` | ¥ |
| `RAlt + =` | × |
| `RAlt + m` | µ |
| `RAlt + c` | © |
| `RAlt + [` | « |
| `RAlt + ]` | » |
| `RAlt + Shift + ;` | ° |
| `RAlt + Shift + 1` | ¹ |
| `RAlt + Shift + 4` | £ |
| `RAlt + Shift + =` | ÷ |
| `RAlt + Shift + s` | § |

## Special letters

### Norwegian letters

| Hotkey | Function |
|--------------|----------|
| `RAlt + z/Z` | æ/Æ |
| `RAlt + l/L` | ø/Ø |
| `RAlt + w/W` | å/Å |

### Accented letters

| Hotkey | Function |
|------------|----------|
| `RAlt + e` | é |
| `RAlt + E` | É |
3 changes: 3 additions & 0 deletions USKeyoardOverlay-InternationalWithoutDeadkeys.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
>!w::Send {U+00E5} ; RAlt + w ==> å = U+00E5
>!+W::Send {U+00C5} ; RAlt + W ==> Å = U+00C5

; Acented letters
>!e::Send {U+00E9} ; RAlt + e ==> é = U+00E9
>!+E::Send {U+00C9} ; RAlt + E ==> É = U+00C9

SetDefaultKeyboard(LocaleID){
Global
Expand Down

0 comments on commit 3111323

Please sign in to comment.