to add the register and unregister rawinput handle ok