Function to convert (partially, as need more checks) from JS keycodes to RC3200 keycodes