I'm using an Arduino Leonardo to emulate a Keyboard. I'm on Mac OS 10.7 with a french AZERTY keyboard.
It works perfectly to print any letter, but when it comes to numbers, it prints the symbols associated to the number keys of my french keyboard. For instance it prints '&' when I ask Keyboard.print('1'), as well with Keyboard.print(''VK_NUMPAD1') or the ASCII Keyboard.write(49), or hexa, etc.
It prints a proper '1' when I combine this previous code with Keyboard.press('KEY_LEFT_SHIFT'), because it's the way I type number with a french keyboard, but i'd like to know if it's possible to use a specific keycode without modifier keys (as I'd do it with a keypad for instance) ?