-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapping Caps Lock to Command #103
Comments
I assume you're on 10.12. Note that you can do such mapping with "Custom PS2 Map" or "Custom ADB Map". Such Info.plist overrides can be done in ACPI via RMCF. |
I'm 10.12.1, does that make a difference? |
My comment is applicable to all versions of 10.12 so far. |
I understand "won't fix." Is there another way around this? I'm using an IBM model M and have limited choices for a command-key substitution. I pretty much have to remap CAPS LOCK to something. Thanks! |
You can remap the key with ACPI "Custom ADB Map". |
I'm trying to do the same thing as DaiMaoTsai, but can't figure out the PS2 scan codes I need. I've installed the debug kext and daemon, rebuilt caches and permissions and rebooted but I don't know where I'm supposed to see the scan codes. Also if I don't actually have a physical "Option" (Windows) key, how will I find the code? Or is it even possible? Any help would be appreciated. |
I wound up installing karabiner elements and used it to do the remapping.
https://github.com/tekezo/Karabiner-Elements
…On Wed, Jul 5, 2017 at 1:03 PM, tom norman ***@***.***> wrote:
I'm trying to do the same thing as DaiMaoTsai, but can't figure out the
PS2 scan codes I need. I've installed the debug kext and daemon, rebuilt
caches and permissions and rebooted but I don't know where I'm supposed to
see the scan codes.
Any help would be appreciated.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFuhGEt3Lsll8PB2t9s6vG9p91x6jnNzks5sK-v6gaJpZM4LJz4J>
.
|
Yeah I tried with karabiner elements too, but was having the same issue with the key sticking. If I watch with the karabiner event viewer, while caps is mapped to control for example, the release event happens BEFORE the press event (where it gets stuck). Pressing the actual control key then frees it from being stuck again. How do you have yours configured exactly? |
Okay and you have the mapping in system prefs default? It seems karabiner overrides that anyway, but I'm not sure why I can't get it working. I guess I should just pick up a ps/2 to usb converter at this point. |
Yes, I use the defaults and everything works great. PS/2 to USB is probably a good idea since these devices will probably be orphaned at some point, even though mine shows no sign of aging. Also Unicomp (original MFGR of the Model M) makes new ones with MacOS keys. Or, if you're handy with hobbyist-level electronics, there is a tutorial on how to convert your Model M to Bluetooth, in which all sorts of re-mapping can be done in the firmware. Good luck |
Picked up the converter. It works fine now, but only with Karabiner. The system pref remapping doesn't seem to have any affect with the converter. I've seen the bluetooth and usb mods around, maybe I will check them out one day. |
As a follow-up for somebody else struggling with Karabiner Elements and a sticky CapsLock key. Here is what I did. diskutil mount /dev/disk0s1
open /Volumes/EFI/EFI/CLOVER/kexts/other/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist And added the following key to IOKitPersonalities>ApplePS2Keyboard>Platform Profile>Default>Custom ADB Map <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<string>3a=3d;swap caps_lock with right_option</string>
</plist> |
hi bro, did you have the problem like here ? #194 |
Results in command being pressed all the time.
To reproduce: System preferences => Keyboard => Modifier Keys
The text was updated successfully, but these errors were encountered: