This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function keyboard { | |
local OS_KEY="0x7000000E2" | |
local LEFT_ALT_KEY="0x7000000E3" | |
local SRC='"HIDKeyboardModifierMappingSrc"' | |
local DST='"HIDKeyboardModifierMappingDst"' | |
usage() { | |
echo "usage: ${FUNCNAME[1]} [-h | mac | win ]" | |
echo "" | |
echo " Toggles keyboard mapping between Mac and Windows keyboards" |