My friend used this script (do not run this!!) to change all my keys to h
. How can I undo this?
1 Answer
hidutil property --set '{"UserKeyMapping":[]}'
will reset the key mappings introduced by this script.
PS: A reboot should also solve the problem.
-
-
1@wolfe_m You can't block scripts from getting executed.– nohillside ♦Commented Nov 30, 2022 at 22:41
-
3
eval
withecho
. Run it to see the URL for the second script and download this as well. Do the eval/echo replacement on the second script as well and run it.