Modified keyboard implementation to simply account for depressed keys