28

At the moment I'm trying to remote control my machine and command and ctrl do not seem to be working properly. Is there some type of 'keyboard sniffer' functionality so I can see exactly what is and is not being received?

  • I was looking for the same thing, It's called "keystroke visualizer". – Ihab Shoully Dec 1 '15 at 0:20
44

I don't know if the built-in keyboard viewer is sophisticated enough, but it should highlight pressed keys.

If you do not see those options, make sure it is checked off under your System Preferences > Keyboard

enter image description here

There are also apps like Keycastr that display bezel elements for pressed keys.

  • no need in terminal. need octal/hex numbers. otherwise you don't know what is being sent. – mathtick Mar 2 at 12:51
9

The application Key Codes from Many Tricks, available for free from the App Store, displays the key code, unicode value, and modifier keys state for any key combination pressed on your computer. If you need more extensive information than that provided by the Keyboard Viewer, you might find it helpful.

  • 2
    I tried Key Codes and it doesn't work for media keys. – Dan Mandle Mar 11 '15 at 22:20
  • This is exactly what I needed to debug a firmware of int'l keyboard. – epx May 18 at 2:22

You must log in to answer this question.

protected by Community Oct 23 '17 at 7:31

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .