added process_input(); added S1-S30 keys