Get scancodes of Italian layout keyboard
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.