title: How can I translate Linux keycodes from /dev/input/event* to ASCII in Perl?
body: <p>I'm writing a Perl script that reads data from the infamous <code>/dev/input/event*</code> and I didn't find a way to translate the key codes generated by the kernel into ASCII.  </p>
  
  <p>I'm talking about the linux key codes in this table <a href="http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlkeycodes.html" rel="noreferrer">here</a> and I can't seem to find something that would help me translate them without hardcoding an array into the script. Am I missing something? </p>
  
  <p>I'd like to skip the array part because it doesn't seem to be a good practice, so any idea? :)</p>