Yeah, it supports gamepad and it's automatic. You just need to build UI for keyboard and gamepad will just work backend.