Fix keycode error

I think your variable names were wrong...