Compare commits
37 Commits
Author | SHA1 | Date | |
---|---|---|---|
46aa095d1d | |||
|
ebd7bdfb79 | ||
|
4bd8795ea8 | ||
|
948c3a4a69 | ||
|
531d46007d | ||
|
117baa6dfb | ||
|
e1439fd0fa | ||
|
c9cdf226df | ||
|
a657ca62a3 | ||
|
9b6c828337 | ||
|
df441f4930 | ||
|
2dcd77cb38 | ||
|
d44fe4c1ab | ||
|
3ee7effb80 | ||
|
9100b299f9 | ||
|
afe5dd7ed7 | ||
|
fda4660a5e | ||
|
44fcc80c0f | ||
|
9da14c3307 | ||
|
c1bdf3b8f9 | ||
|
79da1f66d5 | ||
|
697b735052 | ||
|
d701077ea1 | ||
|
5c3fca2273 | ||
|
0c465dc030 | ||
|
a033f3e3cb | ||
|
50e1bc528f | ||
|
3ff603953f | ||
|
28baf79180 | ||
|
5cb7330783 | ||
|
23982b28e7 | ||
|
9f23c99a19 | ||
|
5cadb36b5f | ||
|
c2a1972da1 | ||
|
56c64671b5 | ||
|
37f892e589 | ||
|
eb36fbffbf |
66
README.md
66
README.md
@ -10,21 +10,39 @@ You've probably noticed that when you switch from an ISO keyboard to an ANSI key
|
|||||||
For Windows, you just have to follow the following steps for installation and use.
|
For Windows, you just have to follow the following steps for installation and use.
|
||||||
|
|
||||||
* **Installation and Use:**
|
* **Installation and Use:**
|
||||||
|
|
||||||
* Download the package [ansi-gli-2.1.zip](https://github.com/q3aql/ansi-gli/releases/download/v2.0/ansi-gli-2.1.zip)
|
* Download the package [ansi-gli-2.7.zip](https://drive.proton.me/urls/A0BF0XCXHR#5zvMXkiswOZf).
|
||||||
* Unzip the package.
|
* Unzip the package.
|
||||||
* Run `ansi-gli_86.exe` (for Windows 32-bits) or `ansi-gli_86_64.exe` (for Windows 64-bits).
|
* Run `ansi-gli_x86.exe` (for Windows 32-bits) or `ansi-gli_x86_64.exe` (for Windows 64-bits).
|
||||||
* You will see the app icon on the tray. ([Image](https://github.com/q3aql/ansi-gli/blob/master/images/ansi-gli-tray.png))
|
* **Optional**: If you want CapsLock disabled, run `ansi-gli-nocapslock_x86.exe` or `ansi-gli-nocapslock_x86_64.exe`.
|
||||||
|
* You will see the app icon on the tray. ([Image](images/ansi-gli-tray.png))
|
||||||
* You can now use the key combinations.
|
* You can now use the key combinations.
|
||||||
|
|
||||||
List of combinations:
|
List of combinations:
|
||||||
|
|
||||||
- Alt + Z = <
|
- Alt + z = <
|
||||||
- Alt + X = >
|
- Alt + x = >
|
||||||
- AltGr + Shift (Left) + Z = <
|
- AltGr + Shift (Left) + z = <
|
||||||
- AltGr + Shift (Left) + X = >
|
- AltGr + Shift (Left) + x = >
|
||||||
- AltGr + Z = <
|
- AltGr + z = <
|
||||||
- AltGr + X = >
|
- AltGr + x = >
|
||||||
|
- Alt + - = ?
|
||||||
|
- Alt + + = ¿
|
||||||
|
- Alt + c = ?
|
||||||
|
- Alt + v = ¿
|
||||||
|
- Alt + ' = \
|
||||||
|
- Win + Esc = \
|
||||||
|
- Win + Alt = AltGr (for keyboards without AltGr key as SK71/SK64)
|
||||||
|
- CapsLock = Shift (with nocapslock version)
|
||||||
|
|
||||||
|
German/French configuration extra key combinations:
|
||||||
|
|
||||||
|
- Alt + y = <
|
||||||
|
- AltGr + Shift (Left) + y = <
|
||||||
|
- AltGr + y = <
|
||||||
|
- Alt + w = <
|
||||||
|
- AltGr + Shift (Left) + w = <
|
||||||
|
- AltGr + w = <
|
||||||
|
|
||||||
### How to fix on Linux:
|
### How to fix on Linux:
|
||||||
|
|
||||||
@ -32,25 +50,34 @@ In most Linux distributions, the keys necessary to type these symbols are alread
|
|||||||
|
|
||||||
In my case, using Ubuntu & Debian and setting the keyboard as Spanish ISO, you can write the symbol "<" and ">" with the following combinations natively:
|
In my case, using Ubuntu & Debian and setting the keyboard as Spanish ISO, you can write the symbol "<" and ">" with the following combinations natively:
|
||||||
|
|
||||||
- AltGr + Shift (Left) + Z = <
|
- AltGr + Shift (Left) + z = <
|
||||||
- AltGr + Shift (Left) + X = >
|
- AltGr + Shift (Left) + x = >
|
||||||
- AltGr + Shift (Right) + Z = <
|
- AltGr + Shift (Right) + z = <
|
||||||
- AltGr + Shift (Right) + X = >
|
- AltGr + Shift (Right) + x = >
|
||||||
|
|
||||||
If you want to add more combinations or the ones mentioned do not work for you, you can follow these steps:
|
If you want to add more combinations or the ones mentioned do not work for you, you can follow these steps:
|
||||||
|
|
||||||
* Install `autokey` for Linux ([from here](https://github.com/autokey/autokey/releases))
|
* Install `autokey` for Linux ([from here](https://github.com/autokey/autokey/releases)).
|
||||||
* Install `Python3` (Installed by default on many Linux distributions).
|
* Install `Python3` (Installed by default on many Linux distributions).
|
||||||
* Install the command `make` (`sudo apt-get install make` on Ubuntu/Debian).
|
* Install the command `make` (`sudo apt-get install make` on Ubuntu/Debian).
|
||||||
* Download the package [ansi-gli-2.1.zip](https://github.com/q3aql/ansi-gli/releases/download/v2.1/ansi-gli-2.1.zip)
|
* Download the package [ansi-gli-2.7.zip](https://drive.proton.me/urls/A0BF0XCXHR#5zvMXkiswOZf).
|
||||||
|
* Unzip the package.
|
||||||
* Inside the `linux` folder, open a terminal and type the command: `make install`.
|
* Inside the `linux` folder, open a terminal and type the command: `make install`.
|
||||||
* Run `autokey` (It is recommended to configure it to start on login).
|
* Run `autokey` (It is recommended to configure it to start on login).
|
||||||
|
|
||||||
Now, you can use the following additional key combinations:
|
Now, you can use the following additional key combinations:
|
||||||
|
|
||||||
- Alt + Z = <
|
- Alt + z = <
|
||||||
- Alt + X = >
|
- Alt + x = >
|
||||||
|
- Alt + w = <
|
||||||
|
- Alt + y = <
|
||||||
- Alt + Esc = \
|
- Alt + Esc = \
|
||||||
|
- Alt + - = ?
|
||||||
|
- Alt + + = ¿
|
||||||
|
- Alt + c = ?
|
||||||
|
- Alt + v = ¿
|
||||||
|
- Win = AltGr (with win-to-altgr_xmodmap.sh script)
|
||||||
|
- CapsLock = Shift (with disable-caplock_xmodmap.sh script)
|
||||||
|
|
||||||
### How to fix on Mac:
|
### How to fix on Mac:
|
||||||
|
|
||||||
@ -61,9 +88,10 @@ I don't know and I don't care.
|
|||||||
* First, install [AutoHoyKey](https://www.autohotkey.com/).
|
* First, install [AutoHoyKey](https://www.autohotkey.com/).
|
||||||
* Then, download the source from here.
|
* Then, download the source from here.
|
||||||
* In the directory `src`, you have `ansi-gli.ahk`. Right click.
|
* In the directory `src`, you have `ansi-gli.ahk`. Right click.
|
||||||
* Choose `Compile Script`. ([Image](https://github.com/q3aql/ansi-gli/blob/master/images/ansi-gli-compile.png))
|
* Choose `Compile Script`. ([Image](images/ansi-gli-compile.png))
|
||||||
|
|
||||||
### External links:
|
### External links:
|
||||||
|
|
||||||
* [AutoHotKey homepage](https://www.autohotkey.com/)
|
* [AutoHotKey homepage](https://www.autohotkey.com/)
|
||||||
* [AutoHotKey documentation](https://www.autohotkey.com/docs/AutoHotkey.htm)
|
* [AutoHotKey documentation](https://www.autohotkey.com/docs/AutoHotkey.htm)
|
||||||
|
* [autokey Github](https://github.com/autokey/autokey)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# Contact: q3aql@protonmail.ch #
|
# Contact: q3aql@protonmail.ch #
|
||||||
# License: GPL v2.0 #
|
# License: GPL v2.0 #
|
||||||
################################################
|
################################################
|
||||||
Version v2.1
|
Version v2.7
|
||||||
|
|
||||||
* Installation steps:
|
* Installation steps:
|
||||||
|
|
||||||
@ -15,3 +15,21 @@ Version v2.1
|
|||||||
3 - Inside the 'linux' folder, open a terminal and type the command:
|
3 - Inside the 'linux' folder, open a terminal and type the command:
|
||||||
$ make install
|
$ make install
|
||||||
4 - Run autokey (It is recommended to configure it to start on login).
|
4 - Run autokey (It is recommended to configure it to start on login).
|
||||||
|
|
||||||
|
* Additional steps (Map AltGr on Win-Key):
|
||||||
|
|
||||||
|
1 - If you use a keyboard without AltGr key (as SK71/SK64), you can use with
|
||||||
|
the 'win-to-altgr_xmodmap.sh' script running the following commands:
|
||||||
|
$ chmod +x win-to-altgr_xmodmap.sh
|
||||||
|
$ ./win-to-altgr_xmodmap.sh
|
||||||
|
2 - If you want restore the config, run again the same script.
|
||||||
|
3 - If you want the permanent config, load the script to auto-startup apps.
|
||||||
|
|
||||||
|
* Additional steps (Disable CapsLock):
|
||||||
|
|
||||||
|
1 - If you prefer use the keyboard without CapsLock (only Shift), you can use
|
||||||
|
the 'disable-caplock_xmodmap.sh' script running the following commands:
|
||||||
|
$ chmod +x disable-caplock_xmodmap.sh
|
||||||
|
$ ./disable-caplock_xmodmap.sh
|
||||||
|
2 - If you want restore the config, run again the same script.
|
||||||
|
3 - If you want the permanent config, load the script to auto-startup apps.
|
||||||
|
30
linux/ansi-60-keyboard/.alt-c.json
Normal file
30
linux/ansi-60-keyboard/.alt-c.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"usageCount": 0,
|
||||||
|
"omitTrigger": false,
|
||||||
|
"prompt": false,
|
||||||
|
"description": "alt-c",
|
||||||
|
"abbreviation": {
|
||||||
|
"wordChars": "[\\w]",
|
||||||
|
"abbreviations": [],
|
||||||
|
"immediate": false,
|
||||||
|
"ignoreCase": false,
|
||||||
|
"backspace": true,
|
||||||
|
"triggerInside": false
|
||||||
|
},
|
||||||
|
"hotkey": {
|
||||||
|
"hotKey": "c",
|
||||||
|
"modifiers": [
|
||||||
|
"<alt>"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"modes": [
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"showInTrayMenu": false,
|
||||||
|
"filter": {
|
||||||
|
"regex": null,
|
||||||
|
"isRecursive": false
|
||||||
|
},
|
||||||
|
"type": "script",
|
||||||
|
"store": {}
|
||||||
|
}
|
30
linux/ansi-60-keyboard/.alt-less.json
Normal file
30
linux/ansi-60-keyboard/.alt-less.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"usageCount": 0,
|
||||||
|
"omitTrigger": false,
|
||||||
|
"prompt": false,
|
||||||
|
"description": "alt-less",
|
||||||
|
"abbreviation": {
|
||||||
|
"wordChars": "[\\w]",
|
||||||
|
"abbreviations": [],
|
||||||
|
"immediate": false,
|
||||||
|
"ignoreCase": false,
|
||||||
|
"backspace": true,
|
||||||
|
"triggerInside": false
|
||||||
|
},
|
||||||
|
"hotkey": {
|
||||||
|
"hotKey": "-",
|
||||||
|
"modifiers": [
|
||||||
|
"<alt>"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"modes": [
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"showInTrayMenu": false,
|
||||||
|
"filter": {
|
||||||
|
"regex": null,
|
||||||
|
"isRecursive": false
|
||||||
|
},
|
||||||
|
"type": "script",
|
||||||
|
"store": {}
|
||||||
|
}
|
30
linux/ansi-60-keyboard/.alt-plus.json
Normal file
30
linux/ansi-60-keyboard/.alt-plus.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"usageCount": 0,
|
||||||
|
"omitTrigger": false,
|
||||||
|
"prompt": false,
|
||||||
|
"description": "alt-plus",
|
||||||
|
"abbreviation": {
|
||||||
|
"wordChars": "[\\w]",
|
||||||
|
"abbreviations": [],
|
||||||
|
"immediate": false,
|
||||||
|
"ignoreCase": false,
|
||||||
|
"backspace": true,
|
||||||
|
"triggerInside": false
|
||||||
|
},
|
||||||
|
"hotkey": {
|
||||||
|
"hotKey": "+",
|
||||||
|
"modifiers": [
|
||||||
|
"<alt>"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"modes": [
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"showInTrayMenu": false,
|
||||||
|
"filter": {
|
||||||
|
"regex": null,
|
||||||
|
"isRecursive": false
|
||||||
|
},
|
||||||
|
"type": "script",
|
||||||
|
"store": {}
|
||||||
|
}
|
30
linux/ansi-60-keyboard/.alt-v.json
Normal file
30
linux/ansi-60-keyboard/.alt-v.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"usageCount": 0,
|
||||||
|
"omitTrigger": false,
|
||||||
|
"prompt": false,
|
||||||
|
"description": "alt-v",
|
||||||
|
"abbreviation": {
|
||||||
|
"wordChars": "[\\w]",
|
||||||
|
"abbreviations": [],
|
||||||
|
"immediate": false,
|
||||||
|
"ignoreCase": false,
|
||||||
|
"backspace": true,
|
||||||
|
"triggerInside": false
|
||||||
|
},
|
||||||
|
"hotkey": {
|
||||||
|
"hotKey": "v",
|
||||||
|
"modifiers": [
|
||||||
|
"<alt>"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"modes": [
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"showInTrayMenu": false,
|
||||||
|
"filter": {
|
||||||
|
"regex": null,
|
||||||
|
"isRecursive": false
|
||||||
|
},
|
||||||
|
"type": "script",
|
||||||
|
"store": {}
|
||||||
|
}
|
30
linux/ansi-60-keyboard/.alt-w.json
Normal file
30
linux/ansi-60-keyboard/.alt-w.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"usageCount": 0,
|
||||||
|
"omitTrigger": false,
|
||||||
|
"prompt": false,
|
||||||
|
"description": "alt-w",
|
||||||
|
"abbreviation": {
|
||||||
|
"wordChars": "[\\w]",
|
||||||
|
"abbreviations": [],
|
||||||
|
"immediate": false,
|
||||||
|
"ignoreCase": false,
|
||||||
|
"backspace": true,
|
||||||
|
"triggerInside": false
|
||||||
|
},
|
||||||
|
"hotkey": {
|
||||||
|
"hotKey": "w",
|
||||||
|
"modifiers": [
|
||||||
|
"<alt>"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"modes": [
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"showInTrayMenu": false,
|
||||||
|
"filter": {
|
||||||
|
"regex": null,
|
||||||
|
"isRecursive": false
|
||||||
|
},
|
||||||
|
"type": "script",
|
||||||
|
"store": {}
|
||||||
|
}
|
30
linux/ansi-60-keyboard/.alt-y.json
Normal file
30
linux/ansi-60-keyboard/.alt-y.json
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"usageCount": 0,
|
||||||
|
"omitTrigger": false,
|
||||||
|
"prompt": false,
|
||||||
|
"description": "alt-y",
|
||||||
|
"abbreviation": {
|
||||||
|
"wordChars": "[\\w]",
|
||||||
|
"abbreviations": [],
|
||||||
|
"immediate": false,
|
||||||
|
"ignoreCase": false,
|
||||||
|
"backspace": true,
|
||||||
|
"triggerInside": false
|
||||||
|
},
|
||||||
|
"hotkey": {
|
||||||
|
"hotKey": "y",
|
||||||
|
"modifiers": [
|
||||||
|
"<alt>"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"modes": [
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"showInTrayMenu": false,
|
||||||
|
"filter": {
|
||||||
|
"regex": null,
|
||||||
|
"isRecursive": false
|
||||||
|
},
|
||||||
|
"type": "script",
|
||||||
|
"store": {}
|
||||||
|
}
|
2
linux/ansi-60-keyboard/alt-c.py
Normal file
2
linux/ansi-60-keyboard/alt-c.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Enter script code
|
||||||
|
keyboard.send_keys("?")
|
2
linux/ansi-60-keyboard/alt-less.py
Normal file
2
linux/ansi-60-keyboard/alt-less.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Enter script code
|
||||||
|
keyboard.send_keys("?")
|
2
linux/ansi-60-keyboard/alt-plus.py
Normal file
2
linux/ansi-60-keyboard/alt-plus.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Enter script code
|
||||||
|
keyboard.send_keys("¿")
|
2
linux/ansi-60-keyboard/alt-v.py
Normal file
2
linux/ansi-60-keyboard/alt-v.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Enter script code
|
||||||
|
keyboard.send_keys("¿")
|
2
linux/ansi-60-keyboard/alt-w.py
Normal file
2
linux/ansi-60-keyboard/alt-w.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Enter script code
|
||||||
|
keyboard.send_keys("<")
|
2
linux/ansi-60-keyboard/alt-y.py
Normal file
2
linux/ansi-60-keyboard/alt-y.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Enter script code
|
||||||
|
keyboard.send_keys("<")
|
29
linux/disable-caplock_xmodmap.sh
Executable file
29
linux/disable-caplock_xmodmap.sh
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
##################################
|
||||||
|
# Script to disable CapsLock #
|
||||||
|
# #
|
||||||
|
# Author: q3aql@protonmail.ch #
|
||||||
|
##################################
|
||||||
|
|
||||||
|
# Variables
|
||||||
|
xmodmap_config_dir=/tmp/.disable-capslock
|
||||||
|
xmodmap_config_file=${xmodmap_config_dir}/capslock.key
|
||||||
|
|
||||||
|
# Check dir and create/restore config
|
||||||
|
mkdir -p ${xmodmap_config_dir}
|
||||||
|
if [ -f ${xmodmap_config_file} ] ; then
|
||||||
|
echo "* Restoring original function of CapsLock..."
|
||||||
|
sleep 2
|
||||||
|
restore_key=$(cat ${xmodmap_config_file})
|
||||||
|
xmodmap -e "keycode ${restore_key} = Caps_Lock"
|
||||||
|
rm -rf ${xmodmap_config_file}
|
||||||
|
echo "* Restored!"
|
||||||
|
else
|
||||||
|
echo "* Creating mapping of CapsLock to Shift..."
|
||||||
|
sleep 2
|
||||||
|
capslock_key_detect=$(xmodmap -pke | grep Caps_Lock | tr -s " " | grep keycode | head -1 | cut -d " " -f 2)
|
||||||
|
echo ${capslock_key_detect} > ${xmodmap_config_file}
|
||||||
|
xmodmap -e "keycode ${capslock_key_detect} = Shift_L"
|
||||||
|
echo "* Created!"
|
||||||
|
fi
|
29
linux/win-to-altgr_xmodmap.sh
Executable file
29
linux/win-to-altgr_xmodmap.sh
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
######################################
|
||||||
|
# Script to map Win key to AltGr key #
|
||||||
|
# #
|
||||||
|
# Author: q3aql@protonmail.ch #
|
||||||
|
######################################
|
||||||
|
|
||||||
|
# Variables
|
||||||
|
xmodmap_config_dir=/tmp/.win-altgr
|
||||||
|
xmodmap_config_file=${xmodmap_config_dir}/super-key.key
|
||||||
|
|
||||||
|
# Check dir and create/restore config
|
||||||
|
mkdir -p ${xmodmap_config_dir}
|
||||||
|
if [ -f ${xmodmap_config_file} ] ; then
|
||||||
|
echo "* Restoring original function of Win-Key..."
|
||||||
|
sleep 2
|
||||||
|
restore_key=$(cat ${xmodmap_config_file})
|
||||||
|
xmodmap -e "keycode ${restore_key} = Super_L"
|
||||||
|
rm -rf ${xmodmap_config_file}
|
||||||
|
echo "* Restored!"
|
||||||
|
else
|
||||||
|
echo "* Creating mapping of Win-Key to AltGr-Key..."
|
||||||
|
sleep 2
|
||||||
|
win_key_detect=$(xmodmap -pke | grep Super_L | tr -s " " | grep keycode | head -1 | cut -d " " -f 2)
|
||||||
|
echo ${win_key_detect} > ${xmodmap_config_file}
|
||||||
|
xmodmap -e "keycode ${win_key_detect} = ISO_Level3_Shift"
|
||||||
|
echo "* Created!"
|
||||||
|
fi
|
133
src/ansi-gli-nocapslock.ahk
Normal file
133
src/ansi-gli-nocapslock.ahk
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
;
|
||||||
|
; ################################################
|
||||||
|
; # ANSI-GLI - ANSI Greater & Less in ISO #
|
||||||
|
; # #
|
||||||
|
; # Author: q3aql #
|
||||||
|
; # Contact: q3aql@protonmail.ch #
|
||||||
|
; # License: GPL v2.0 #
|
||||||
|
; ################################################
|
||||||
|
; Version v2.7
|
||||||
|
;
|
||||||
|
; You've probably noticed that when you switch from an ISO keyboard
|
||||||
|
; to an ANSI keyboard, the "<" and ">" keys are missing. When you
|
||||||
|
; configure an ANSI keyboard as ISO (for example in Spanish), you can
|
||||||
|
; use it in the same way as before, but those symbols are the only ones
|
||||||
|
; that you cannot type, so this script will solve the problem.
|
||||||
|
;
|
||||||
|
; Map the Alt + Z keys to show the "<" symbol
|
||||||
|
!z::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map the Alt + X keys to show the ">" symbol
|
||||||
|
!x::
|
||||||
|
Send, >
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map the AltGr + Shift (Left) + Z keys to show the "<" symbol
|
||||||
|
<^>!+z::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map the AltGr + Shift (Left) + X keys to show the ">" symbol
|
||||||
|
<^>!+x::
|
||||||
|
Send, >
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map the AltGr + Z keys to show the "<" symbol
|
||||||
|
<^>!z::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map the AltGr + Z keys to show the ">" symbol
|
||||||
|
<^>!x::
|
||||||
|
Send, >
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; If you use a 60% Keyboard, maybe need the following combinations:
|
||||||
|
;
|
||||||
|
; Map the AltGr + ' keys to show the "\" symbol (Spanish & Italian ISO config)
|
||||||
|
<^>!'::
|
||||||
|
Send, \
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map the AltGr + ¡ keys to show the "~" symbol (Spanish ISO config)
|
||||||
|
;<^>!¡::
|
||||||
|
;Send, ~
|
||||||
|
;return
|
||||||
|
;
|
||||||
|
; Map the AltGr + - keys to show the "\" symbol (ANSI & UK ISO config)
|
||||||
|
<^>!-::
|
||||||
|
Send, \
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map the AltGr + Esc keys to show the "\" symbol
|
||||||
|
<^>!*Escape::
|
||||||
|
Send, \
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; German and French configuration extra key combinations
|
||||||
|
<^>!+w::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
<^>!w::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
!w::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
!y::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
<^>!+y::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
<^>!y::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Win + Alt to send AltGr command (for SK71 and SK64 keyboards)
|
||||||
|
LWin & LAlt::RAlt
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + - to show ? simbol (for SK71 keyboard)
|
||||||
|
!-::
|
||||||
|
Send, ?
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + '+' to show ¿ simbol (for SK71 keyboard)
|
||||||
|
LAlt & +::
|
||||||
|
Send, ¿
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + c to show ? simbol (for SK71 keyboard)
|
||||||
|
!c::
|
||||||
|
Send, ?
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + v to show ¿ simbol (for SK71 keyboard)
|
||||||
|
!v::
|
||||||
|
Send, ¿
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + ' to show blacklash
|
||||||
|
!'::
|
||||||
|
Send, \
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Win + Esc to show blacklash
|
||||||
|
LWin & Escape::
|
||||||
|
Send, \
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Disable CapsLock (map CapsLock to Shift)
|
||||||
|
SetCapsLockState, AlwaysOff
|
||||||
|
CapsLock::LShift
|
||||||
|
return
|
||||||
|
;
|
||||||
|
|
@ -6,7 +6,7 @@
|
|||||||
; # Contact: q3aql@protonmail.ch #
|
; # Contact: q3aql@protonmail.ch #
|
||||||
; # License: GPL v2.0 #
|
; # License: GPL v2.0 #
|
||||||
; ################################################
|
; ################################################
|
||||||
; Version v2.1
|
; Version v2.7
|
||||||
;
|
;
|
||||||
; You've probably noticed that when you switch from an ISO keyboard
|
; You've probably noticed that when you switch from an ISO keyboard
|
||||||
; to an ANSI keyboard, the "<" and ">" keys are missing. When you
|
; to an ANSI keyboard, the "<" and ">" keys are missing. When you
|
||||||
@ -19,54 +19,109 @@
|
|||||||
Send, <
|
Send, <
|
||||||
return
|
return
|
||||||
;
|
;
|
||||||
;Map the Alt + X keys to show the ">" symbol
|
; Map the Alt + X keys to show the ">" symbol
|
||||||
!x::
|
!x::
|
||||||
Send, >
|
Send, >
|
||||||
return
|
return
|
||||||
;
|
;
|
||||||
;Map the AltGr + Shift (Left) + Z keys to show the "<" symbol
|
; Map the AltGr + Shift (Left) + Z keys to show the "<" symbol
|
||||||
<^>!+z::
|
<^>!+z::
|
||||||
Send, <
|
Send, <
|
||||||
return
|
return
|
||||||
;
|
;
|
||||||
;Map the AltGr + Shift (Left) + X keys to show the ">" symbol
|
; Map the AltGr + Shift (Left) + X keys to show the ">" symbol
|
||||||
<^>!+x::
|
<^>!+x::
|
||||||
Send, >
|
Send, >
|
||||||
return
|
return
|
||||||
;
|
;
|
||||||
;Map the AltGr + Z keys to show the "<" symbol
|
; Map the AltGr + Z keys to show the "<" symbol
|
||||||
<^>!z::
|
<^>!z::
|
||||||
Send, <
|
Send, <
|
||||||
return
|
return
|
||||||
;
|
;
|
||||||
;Map the AltGr + Z keys to show the ">" symbol
|
; Map the AltGr + Z keys to show the ">" symbol
|
||||||
<^>!x::
|
<^>!x::
|
||||||
Send, >
|
Send, >
|
||||||
return
|
return
|
||||||
;
|
;
|
||||||
; If you use a 60% Keyboard, maybe need the following combinations:
|
; If you use a 60% Keyboard, maybe need the following combinations:
|
||||||
;
|
;
|
||||||
;Map the AltGr + ' keys to show the "\" symbol (Spanish & Italian ISO config)
|
; Map the AltGr + ' keys to show the "\" symbol (Spanish & Italian ISO config)
|
||||||
<^>!'::
|
<^>!'::
|
||||||
Send, \
|
Send, \
|
||||||
return
|
return
|
||||||
;
|
;
|
||||||
;Map the AltGr + ¡ keys to show the "~" symbol (Spanish ISO config)
|
; Map the AltGr + ¡ keys to show the "~" symbol (Spanish ISO config)
|
||||||
<^>!¡::
|
;<^>!¡::
|
||||||
Send, ~
|
;Send, ~
|
||||||
return
|
;return
|
||||||
;
|
;
|
||||||
;Map the AltGr + - keys to show the "\" symbol (ANSI & UK ISO config)
|
; Map the AltGr + - keys to show the "\" symbol (ANSI & UK ISO config)
|
||||||
<^>!-::
|
<^>!-::
|
||||||
Send, \
|
Send, \
|
||||||
return
|
return
|
||||||
;
|
;
|
||||||
;Map the AltGr + "+" keys to show the "~" symbol (ANSI & UK ISO config)
|
; Map the AltGr + Esc keys to show the "\" symbol
|
||||||
<^>!+::
|
|
||||||
Send, ~
|
|
||||||
return
|
|
||||||
;
|
|
||||||
;Map the AltGr + Esc keys to show the "\" symbol
|
|
||||||
<^>!*Escape::
|
<^>!*Escape::
|
||||||
Send, \
|
Send, \
|
||||||
return
|
return
|
||||||
|
;
|
||||||
|
; German and French configuration extra key combinations
|
||||||
|
<^>!+w::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
<^>!w::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
!w::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
!y::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
<^>!+y::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
<^>!y::
|
||||||
|
Send, <
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Win + Alt to send AltGr command (for SK71 and SK64 keyboards)
|
||||||
|
LWin & LAlt::RAlt
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + - to show ? simbol (for SK71 keyboard)
|
||||||
|
!-::
|
||||||
|
Send, ?
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + '+' to show ¿ simbol (for SK71 keyboard)
|
||||||
|
LAlt & +::
|
||||||
|
Send, ¿
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + c to show ? simbol (for SK71 keyboard)
|
||||||
|
!c::
|
||||||
|
Send, ?
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + v to show ¿ simbol (for SK71 keyboard)
|
||||||
|
!v::
|
||||||
|
Send, ¿
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Alt + ' to show blacklash
|
||||||
|
!'::
|
||||||
|
Send, \
|
||||||
|
return
|
||||||
|
;
|
||||||
|
; Map Win + Esc to show blacklash
|
||||||
|
LWin & Escape::
|
||||||
|
Send, \
|
||||||
|
return
|
||||||
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user