inputcntrl is a utility for controlling Linux 'input' devices. It was created out of a need to set the characteristics of a Sun keyboard attached to a serial port and registered as /dev/input/eventN with inputattach.