Add the final class for checkKeyState: ImputController