Return to site

Key Remapper For Mac

broken image


I use MX KEYS keyboard, and also i use Mac. How to remap FN key to be able to have there ALT(OPTION) key. I write characters which need OPTION key. On every keyboard i use right Option key to do that but on this keyboard Logitech was so brillinat to put f.cking big FN. SharpKeys for Windows 10. It is an open-source tool available for free download on GitHub.

Table of Contents

Introduction

Limitation: AutoHotkey's remapping feature described below is generally not as pure and effective as remapping directly via the Windows registry. For the advantages and disadvantages of each approach, see registry remapping.

Remapping the Keyboard and Mouse

The syntax for the built-in remapping feature is OriginKey::DestinationKey. For example, a script consisting only of the following line would make the A key behave like the B key:

The above example does not alter the B key itself. The B key would continue to send the 'b' keystroke unless you remap it to something else as shown in the following example:

The examples above use lowercase, which is recommended for most purposes because it also remaps the corresponding uppercase letters (that is, it will send uppercase when CapsLock is 'on' or the Shift key is held down). By contrast, specifying an uppercase letter on the right side forces uppercase. For example, the following line would produce an uppercase B when you type either 'a' or 'A' (as long as CapsLock is off):

However, a remapping opposite to the one above would not work as one might expect, as a remapping never 'releases' the modifier keys which are used to trigger it. For example, A::b is typically equivalent to A::B and ^a::b is equivalent to ^a::^b. This is because each remapping internally uses {Blind} to allow the key or key combination to be combined with other modifiers.

Mouse Remapping

To remap the mouse instead of the keyboard, use the same approach. For example:

MButton::ShiftMakes the middle button behave like the Shift key.
XButton1::LButtonMakes the fourth mouse button behave like the left mouse button.
RAlt::RButtonMakes the right Alt key behave like the right mouse button.

Other Useful Remappings

Key Remapper Windows 10

CapsLock::CtrlMakes CapsLock become a Ctrl key. To retain the ability to turn CapsLock on and off, add the remapping +CapsLock::CapsLock first. This toggles CapsLock on and off when you hold down the Shift key and press CapsLock. Because both remappings allow additional modifier keys to be held down, the more specific +CapsLock::CapsLock remapping must be placed first for it to work.
XButton2::^LButtonMakes the fifth mouse button (XButton2) produce a control-click.
RAlt::AppsKeyMakes the right Alt key become the Menu key (which is the key that opens the context menu).
RCtrl::RWinMakes the right Ctrl key become the right Win key.
Ctrl::AltMakes both Ctrl keys behave like an Alt key. However, see alt-tab issues.
^x::^cMakes Ctrl+X produce Ctrl+C. It also makes Ctrl+Alt+X produce Ctrl+Alt+C, etc.
RWin::ReturnDisables the right Win key by having it simply return.

You can try out any of these examples by copying them into a new text file such as 'Remap.ahk', then launching the file.

See the Key List for a complete list of key and mouse button names.

Remarks

The directives #IfWinActive/Exist can be used to make selected remappings active only in the windows you specify. For example:

Remapping a key or button is 'complete' in the following respects:

  • Holding down a modifier such as Ctrl or Shift while typing the origin key will put that modifier into effect for the destination key. For example, b::a would produce Ctrl+A if you press Ctrl+B.
  • CapsLock generally affects remapped keys in the same way as normal keys.
  • The destination key or button is held down for as long as you continue to hold down the origin key. However, some games do not support remapping; in such cases, the keyboard and mouse will behave as though not remapped.
  • Remapped keys will auto-repeat while being held down (except keys remapped to become mouse buttons).

Although a remapped key can trigger normal hotkeys, by default it cannot trigger mouse hotkeys or hook hotkeys (use ListHotkeys to discover which hotkeys are 'hook'). For example, if the remapping a::b is in effect, pressing Ctrl+Alt+A would trigger the ^!b hotkey only if ^!b is not a hook hotkey. If ^!b is a hook hotkey, you can define ^!a as a hotkey if you want Ctrl+Alt+A to perform the same action as Ctrl+Alt+B. For example:

Alternatively, in [v1.1.06] and later, #InputLevel can be used to override the default behaviour. For example:

If SendMode is used in the auto-execute section (top part of the script), it affects all remappings. However, since remapping uses Send {Blind} and since the SendPlay mode does not fully support {Blind}, some remappings might not function properly in SendPlay mode (especially Ctrl, Shift, Alt, and Win). To work around this, avoid SendPlay in auto-execute section when you have remappings; then use the command SendPlay vs. Send in other places throughout the script. Alternatively, you could translate your remappings into hotkeys (as described below) that explicitly call SendEvent vs. Send.

When a script is launched, each remapping is translated into a pair of hotkeys. For example, a script containing a::b actually contains the following two hotkeys instead:

However, the above hotkeys vary under the following circumstances:

  1. When the source key is the left Ctrl key and the destination key is an Alt key, the line Send {Blind}{LAlt DownR} is replaced by Send {Blind}{LCtrl up}{LAlt DownR}. The same is true if the source is the right Ctrl key, except that {RCtrl up} is used.
  2. When a keyboard key is being remapped to become a mouse button (e.g. RCtrl::RButton), the hotkeys above use SetMouseDelay in place of SetKeyDelay. In addition, the first hotkey above is replaced by the following, which prevents the keyboard's auto-repeat feature from generating repeated mouse clicks:
  3. When the source is a custom combination in [v1.1.27.01+], the wildcard modifier (*) is omitted to allow the hotkeys to work.

Prior to [v1.1.27], DownTemp was used instead of DownR.

Note that SetKeyDelay's second parameter (press duration) is omitted in the hotkeys above. This is because press-duration does not apply to down-only or up-only events such as {b down} and {b up}. However, it does apply to changes in the state of the Shift/Ctrl/Alt/Win keys, which affects remappings such as a::B or a::^b. Consequently, any press-duration a script puts into effect via its auto-execute section will apply to all such remappings.

Since remappings are translated into hotkeys as described above, the Suspend command affects them. Similarly, the Hotkey command can disable or modify a remapping. For example, the following two commands would disable the remapping a::b.

Alt-tab issues: If you remap a key or mouse button to become an Alt key, that key will probably not be able to alt-tab properly. A possible work-around is to add the hotkey *Tab::Send {Blind}{Tab} -- but be aware that it will likely interfere with using the real Alt key to alt-tab. Therefore, it should be used only when you alt-tab solely by means of remapped keys and/or alt-tab hotkeys.

In addition to the keys and mouse buttons on the Key List page, the source key may also be a virtual key (VKnn) or scan code (SCnnn) as described on the special keys page. The same is true for the destination key except that it may optionally specify a scan code after the virtual key. For example, sc01e::vk42sc030 is equivalent to a::b on most keyboard layouts.

To disable a key rather than remapping it, make it a hotkey that simply returns. For example, F1::return would disable the F1 key.

The following keys are not supported by the built-in remapping method:

  • The mouse wheel (WheelUp/Down/Left/Right).
  • Pause and Break as destination key names (since they match the names of commands). [v1.1.32+]:vk13 or the corresponding scan code can be used instead.
  • Curly braces {} as destination keys. Instead use the VK/SC method; e.g. x::+sc01A and y::+sc01B.
  • A percent sign (%) as a destination key. Instead use the VK/SC method.
  • 'Return' as a destination key. Instead use 'Enter'.

Moving the Mouse Cursor via the Keyboard

The keyboard can be used to move the mouse cursor as demonstrated by the fully-featured Keyboard-To-Mouse script. Since that script offers smooth cursor movement, acceleration, and other features, it is the recommended approach if you plan to do a lot of mousing with the keyboard. By contrast, the following example is a simpler demonstration:

Remapping via the Registry's 'Scancode Map'

Advantages:

  • Registry remapping is generally more pure and effective than AutoHotkey's remapping. For example, it works in a broader variety of games, it has no known alt-tab issues, and it is capable of firing AutoHotkey's hook hotkeys (whereas AutoHotkey's remapping requires a workaround).
  • If you choose to make the registry entries manually (explained below), absolutely no external software is needed to remap your keyboard. Even if you use KeyTweak to make the registry entries for you, KeyTweak does not need to stay running all the time (unlike AutoHotkey).

Disadvantages:

  • Registry remapping is relatively permanent: a reboot is required to undo the changes or put new ones into effect.
  • Its effect is global: it cannot create remappings specific to a particular user, application, or locale.
  • It cannot send keystrokes that are modified by Shift, Ctrl, Alt, or AltGr. For example, it cannot remap a lowercase character to an uppercase one.
  • It supports only the keyboard (AutoHotkey has mouse remapping and some limited joystick remapping).

How to Apply Changes to the Registry: There are at least two methods to remap keys via the registry:

  1. Use a program like KeyTweak (freeware) to visually remap your keys. It will change the registry for you.
  2. Remap keys manually by creating a .reg file (plain text) and loading it into the registry. This is demonstrated at www.autohotkey.com/forum/post-56216.html#56216

Related Topics

List of keys and mouse buttons
GetKeyState
Remapping a joystick

The keyboard is one of the most crucial parts of a computer, without which it's nearly impossible to access the system. Yes, we do have the touch screen computers today, but very few of us use these systems. For some, it can be challenging to use the usual QWERTY format in the way they are already arranged. But if you want to customize the keyboard according to your convenience you can use key mapping software.

For instance, you may want to replace the position of the 'Tab' key with 'Ctrl' key, you can use the programs to remap them. You can also add new personalized keys, or deactivate any key for added convenience like disabling the 'Fn' button. Moreover, there are times when some of your keys might have stopped working making it tough for typing. While using a macro tool can help you remap keys or operate a shortcut service, these need to be saved in the system memory for them to work all the time.



Therefore, using a key mapping tool can be the best alternative as these do not need a process to run the background for it to function. Here we have listed some of the best key mapping software programs that you can use instead of 3rd party tools.

SharpKeys

If you are having a tough time re-mapping the keys on your keyboard, SharpKeys does the job for you. It can change the way how different keys work, efficiently. For instance, if you are having a tough time with one of the keys like hitting the 'Fn' key accidentally every time you want to press the 'Ctrl' key, you can either disable it or change its function to a different key.

The software helps you map up to 104 different types of combinations! It's a pretty easier tool to start with an empty interface to work upon. It shows only the edits that you have made unless you hit the 'Add' option to start remapping a new key. The interface then gets divided into two vertical panes of which one shows the 'From Keys', and the other one shows the 'To Keys'.

You can now select the 'From key' from the list on the left, and move it to the 'To key' on the right where it is mapped. However, since not all the keys listed may not be available on your keyboard, you can make your choice by pressing the 'Type Key' option and then hit the physical key you want to select. You must complete the process by hitting the 'Write to Registry' option and wait for the successful mapping confirmation by the registry. Now, shut down the application and log out, or restart to apply the new mappings.

Price: free

Keytweak

Keytweak is one of the keymapping software programs that lets you remap the keyboard keys. It enables you to alter all the mapped keys, activate/deactivate keys, and even store your alignment in a single click. On launching the user interface of the software, it shows the alignment of your keyboard in association with a range of buttons and commands. Here you can assign each key as per your requirement and place it beside a command or simply let it be empty to deactivate it. As the mapping is done, the keys store your command and activate the software function. From here on, your keyboard starts getting mapped as per your set alignment.

Whether it's for the safety of your system, simply to redefine the keys to operate a program, or you need it to play some game, there are many reasons why remapping can be good using this software. Alternatively, the remapping of keys is also useful in case any of the keys are damaged and they have stopped working.

Price: free

Key Mapper

If you are looking to configure your keyboard, Key Mapper is just the right tool that can help you with it. Using this software, you can remap the keyboard keys as per your choice. For instance, you can change the function of one key (Caps Lock) to work like another (for example, Ctrl), or to any other function that may not be even present on your keyboard.

This free application is available for Windows 2000 and previous versions. It's a lightweight program that does not occupy much storage space compared to many other similar programs. It comes equipped with a various keyboard designs (pre-set) such as, featuring a number pad which is not present in most laptop keyboards, Mac keyboard, or typewriters key alone.

In order to map a key, all you need to do is to either use the software's key capture feature or just pick a key from the list and prepare a new mapping. Wondering how to use the key capture feature? All you need to do is to choose the desired key and hit the set button, pick a key group and a key from the list, and hit the map button. Now, the virtual keyboard will show you a new key replacing the old one.

If you want to deactivate the mapped key at a later date, you can easily do that by simply pulling it away from the keyboard. In addition, you can also change the attributes of the key like the color, add toggle function to the key menu, choose another language, and much more.

Price: free

MapKeyboard

Key Remapper Macbook

Remapper

Most keyboard mapping programs take up considerable storage space. However, MapKeyboard is a really small and one of the best key mapping software programs around that occupies only 30KB in file size. You can easily customize the keyboard layout settings using this free software, despite the missing hotkey feature.

The interface of the program is a lot similar to the usual keyboard image that's easy to use by the majority of the users. It's easy to use and easy to understand even for the beginners. It lets you replace a keys function using a pull-down menu of the output keys. What's more? It also allows you to create different layouts that match your requirements.

Moreover, you can also quickly return to the actual keyboard layout in just a single click feature that helps reset the keyboard. Overall, it's a handy software and offers an effortless way to customize your keyboards.

Price: free

Key Remapper

Key Remapper by ATNSOFT is one such key remapping software that enables you to disable keys/mouse buttons/mouse wheel rotations and even remap them. Moreover, it also carries out counter remapping of keys and mouse buttons. It basically modifies their functions. For example, you can change the Left Shift and the Caps Lock, and other such combinations.

It also allows you to replace certain keys or mouse buttons by a mix of key or mouse button with modifiers. For example, the 'Alt' key can be replaced with a combination function such as, 'Alt+Tab', etc. You can even mirror the double mouse button and key hits, and fix a certain interval between the hits.

In addition, it allows you to block keys, mouse buttons, or the mouse wheel rotation along with their combinations with different modifiers. Not just that, it also limits the remapping and blocking functions to certain programs and Windows. It also helps you create and change between key sets quickly, in just two clicks.

Price: free license available; upgrade starts from $49.95

AutoHotkey

AutoHotkey is a lot different from the other best key mapping software in the list. It's a much powerful application which is easy to learn. It allows you to assign hotkeys for the keyboard and mouse, remap keys or buttons, and even offers the auto-correct type swaps. The software makes it incredibly easier to create simple hotkeys in just a few lines.

Mouse Key Remapper

This free and open source software comes with a dedicated scripting language for Windows helping you to create small to more complex scripts, effortlessly. It helps you create scripts for all types of tasks that includes filling forms, macros, and more.

If you are a beginner, then it offers an integrated command for you. And, if you are a professional, then you will all the more appreciate the skilled scripting language for quick prototyping and limited projects. The program offers you a lot more flexibility to automate any desktop task. It's compact, quick, and is ready to use.

It comes with a straightforward and adaptable syntax that helps you stay focused more on the task than focusing on each of the technicalities.

Price: free and open source

Microsoft Keyboard Layout Creator

If you are looking to customize your keyboard layout right from the ground up, then Microsoft Keyboard Layout Creator can be your best bet. It helps you define your keyboard layout in a language unsupported by Microsoft, quickly, easily, and effectively. You can also create your own keyboard layout that helps you to quickly and easily replace your preferred symbols with just a few keystrokes.

While it helps you define new keyboard layouts right from the ground up, it also helps you create a new layout on the current one. Moreover, it allows you to change a current keyboard layout file and create a new layout out of it. Additionally, it saves the subsequent keyboard layout results for further use and installation.

Key Remapper For Mac Mojave

Price: free

Key Manager

Key Manager by ATNSOFT is another product in their range that's an advanced version of their Key Remapper. It offers a lot more functions than just remapping keys and mouse buttons. For instance, this software lets you even remap combinations of mouse buttons and keys, keys and mouse button arrangements, and even the long presses.

You can choose to display your actions in pop-up menu forms that can be launched with hotkeys, edit, record, paste content, run macros, and much more. Imitating mouse clicks, opening websites, changing the layout, filling up forms instantly, or controlling the power settings of the monitor are some of the other things that you can choose to display.

Price: free license available; upgrade starts from $49.

Key Remapper Free Download

KeyExtender

If you intend to extend your key functions, KeyExtender can be of great heal to you. It helps you to make your keyboard alignment more convenient for you to work or play games. That's not all! You can also change your usual keyboard format (102) into a cross-functional keyboard without spending much of your funds. Whether you want to replace A key with E key on your keyboard, want to add the Crtl+V function to a single key like the 'Tab', or want the F9 key to type frequently used text, the software is apt to take care of all that and more.

The interface is simple, compact, and nonresizable, and is comparatively much easier to use and understand. It uses pull-down menus to change the way a key works. It also allows you to easily define hotkeys using the Settings options and enable or disable the impact of the software on your keyboard. Overall, if you are looking for a skilled remapping software, KeyExtender can be the solution.

Price: free trial available; priced at $19.95

Keyboard Layout Manager

Keyboard Layout Manager is a dynamic software that offers an impressive range of characters to be deployed in different languages or specific areas. This program offers the opportunity to map almost all characters that you require, to one of your preferred keyboard keys and define customized layouts.

Key Remapper For Mac Catalina

Key Remapper For Mac

Most keyboard mapping programs take up considerable storage space. However, MapKeyboard is a really small and one of the best key mapping software programs around that occupies only 30KB in file size. You can easily customize the keyboard layout settings using this free software, despite the missing hotkey feature.

The interface of the program is a lot similar to the usual keyboard image that's easy to use by the majority of the users. It's easy to use and easy to understand even for the beginners. It lets you replace a keys function using a pull-down menu of the output keys. What's more? It also allows you to create different layouts that match your requirements.

Moreover, you can also quickly return to the actual keyboard layout in just a single click feature that helps reset the keyboard. Overall, it's a handy software and offers an effortless way to customize your keyboards.

Price: free

Key Remapper

Key Remapper by ATNSOFT is one such key remapping software that enables you to disable keys/mouse buttons/mouse wheel rotations and even remap them. Moreover, it also carries out counter remapping of keys and mouse buttons. It basically modifies their functions. For example, you can change the Left Shift and the Caps Lock, and other such combinations.

It also allows you to replace certain keys or mouse buttons by a mix of key or mouse button with modifiers. For example, the 'Alt' key can be replaced with a combination function such as, 'Alt+Tab', etc. You can even mirror the double mouse button and key hits, and fix a certain interval between the hits.

In addition, it allows you to block keys, mouse buttons, or the mouse wheel rotation along with their combinations with different modifiers. Not just that, it also limits the remapping and blocking functions to certain programs and Windows. It also helps you create and change between key sets quickly, in just two clicks.

Price: free license available; upgrade starts from $49.95

AutoHotkey

AutoHotkey is a lot different from the other best key mapping software in the list. It's a much powerful application which is easy to learn. It allows you to assign hotkeys for the keyboard and mouse, remap keys or buttons, and even offers the auto-correct type swaps. The software makes it incredibly easier to create simple hotkeys in just a few lines.

Mouse Key Remapper

This free and open source software comes with a dedicated scripting language for Windows helping you to create small to more complex scripts, effortlessly. It helps you create scripts for all types of tasks that includes filling forms, macros, and more.

If you are a beginner, then it offers an integrated command for you. And, if you are a professional, then you will all the more appreciate the skilled scripting language for quick prototyping and limited projects. The program offers you a lot more flexibility to automate any desktop task. It's compact, quick, and is ready to use.

It comes with a straightforward and adaptable syntax that helps you stay focused more on the task than focusing on each of the technicalities.

Price: free and open source

Microsoft Keyboard Layout Creator

If you are looking to customize your keyboard layout right from the ground up, then Microsoft Keyboard Layout Creator can be your best bet. It helps you define your keyboard layout in a language unsupported by Microsoft, quickly, easily, and effectively. You can also create your own keyboard layout that helps you to quickly and easily replace your preferred symbols with just a few keystrokes.

While it helps you define new keyboard layouts right from the ground up, it also helps you create a new layout on the current one. Moreover, it allows you to change a current keyboard layout file and create a new layout out of it. Additionally, it saves the subsequent keyboard layout results for further use and installation.

Key Remapper For Mac Mojave

Price: free

Key Manager

Key Manager by ATNSOFT is another product in their range that's an advanced version of their Key Remapper. It offers a lot more functions than just remapping keys and mouse buttons. For instance, this software lets you even remap combinations of mouse buttons and keys, keys and mouse button arrangements, and even the long presses.

You can choose to display your actions in pop-up menu forms that can be launched with hotkeys, edit, record, paste content, run macros, and much more. Imitating mouse clicks, opening websites, changing the layout, filling up forms instantly, or controlling the power settings of the monitor are some of the other things that you can choose to display.

Price: free license available; upgrade starts from $49.

Key Remapper Free Download

KeyExtender

If you intend to extend your key functions, KeyExtender can be of great heal to you. It helps you to make your keyboard alignment more convenient for you to work or play games. That's not all! You can also change your usual keyboard format (102) into a cross-functional keyboard without spending much of your funds. Whether you want to replace A key with E key on your keyboard, want to add the Crtl+V function to a single key like the 'Tab', or want the F9 key to type frequently used text, the software is apt to take care of all that and more.

The interface is simple, compact, and nonresizable, and is comparatively much easier to use and understand. It uses pull-down menus to change the way a key works. It also allows you to easily define hotkeys using the Settings options and enable or disable the impact of the software on your keyboard. Overall, if you are looking for a skilled remapping software, KeyExtender can be the solution.

Price: free trial available; priced at $19.95

Keyboard Layout Manager

Keyboard Layout Manager is a dynamic software that offers an impressive range of characters to be deployed in different languages or specific areas. This program offers the opportunity to map almost all characters that you require, to one of your preferred keyboard keys and define customized layouts.

Key Remapper For Mac Catalina

It's a lightweight application and is pretty compact acquiring only up to 1MB of your hard disk space. Given that it cuts down your system resources utilization, it automatically becomes light on your computer. You can select from a range of option from the main window, for example, language or layout, including the keyboard in use. Moreover, you can even create a new variety, in case you do not want to mess with the current ones.

The virtual keyboard offered by the program is fully supported and you are also free to use any of the keys apart from the major function buttons. it allows you to assign a character using a maximum of three mouse clicks. What's more? It also offers you the opportunity to use all of the key combinations that help you map up to 6 characters for each button.

Overall, it's a robust tool that helps you map your keyboard keys easily and effectively.

Price: free trial available; shareware

While many of us are comfortable with the usual QWERTY layout of our keyboards, there are many who prefer it to be their way. So, if you are one of the latter and looking for one of the best key mapping software, this post is for you. Make a pick from the list and map keys fast and easy with your chosen software.

I find passion in writing Tech articles around Windows PC and softwares

Recommended for You:




broken image