starting to add support for hat control, not tested