This repository contains everything you need to turn an Arduino UNO R3 into a USB keyboard. It includes two examples, one for preprogrammed input and one which uses a 4x4 keypad to input HID codes, ...
This was developed and tested with an original Amiga 500 keyboard and an Arduino Leonardo board. Other combinations are not tested, other boards based on the ATmega32U4 microcontroller should work ...