you might try adding keyboard events which fire empty functions to the keys you want to disable.

not sure if it will work however.

flos