gets a scancode