Skip to content

Instantly share code, notes, and snippets.

@erm3nda
Last active March 12, 2019 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erm3nda/b02f30a69e7a883152f9051f2bfda2de to your computer and use it in GitHub Desktop.
Save erm3nda/b02f30a69e7a883152f9051f2bfda2de to your computer and use it in GitHub Desktop.
MSI PS42 keyboard fix
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#InstallKeybdHook
; -- Fixing MSI PS42 keyboard layout --
; Now both keys ç and Enter acts as Enter
; To insert regular ç just do it with Ctrl+ç
; Bugs:
; Seems keyboard mapping doesn't work under the Windows tool "Task programmer" form inputs .
+ç::Ç
^ç::Send ç
ç::Enter
^!ç::}
@erm3nda
Copy link
Author

erm3nda commented Mar 12, 2019

I bought a MSI PS42 Laptop wich i totally disliked. The first thing i hated is the keyboard distribution, specially the ENTER key and therefore the Ç key, wich i don't use but ... it is also the key for }, wich i need to live.

I tried Windows built-in keyboard configurations. Seemed to work, but is not respected in all programs, so ended up being USELESS.
Hotkey fixed that thing pretty good, and let you fix the upper Ç using altGR key.
Not perfect but usable.

I ended buying Huawei Matebook D15, wich i LOVE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment