If you have Steam installed on your PC, you can utilize its built-in controller support to turn your gamepad into a mouse. However, note that this feature will be disabled when you launch a game ...
Hytale doesn't officially support controllers and won't do for some time, fortunately you can use Steam to play the game ...