Modified cypress_ps2.c to make it the same as the one in v3.10