Fixed keymapping logic error in keytouch