I'm lookin' for Italian keyboard scan codes.
I've searched the net but nothing that deals with Mac except for:
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h
But this does not contain Layout Related scan codes.
My questions:
- Is there any official documentation about this?
- Is there any software like 'dumpkeys' running on macOS?
If possible I'd prefer the triple (byte 1: Modifier, byte 2: Reserved, byte 3: Keycode 1) as defined in http://www.usb.org/developers/hidpage/
Best Answer
The nicest tool for examining keyboard events including the scan codes is Karabiner-EventViewer which is part of Karabiner-Elements.
It will show you the scan codes as they occur.