Key codes 241-251 are reserved for joystick input which, I expect, is the problem here as your box is using 248. To make sure I understand though--the session is working but you are getting this message at the start of the session? at the start of each trial? I'm guessing the session still works as you somehow got the codes. Using a test file with rt:any perhaps?