Struggling can be played using a mouse + keyboard or a controller that's supported by Steam.
Steam has generic support for many popular controllers such as the Xbox One gamepad but we suggest using officially branded peripherals for best results.
Steam support keeps a definitive list of supported controllers here: https://partner.steamgames.com/doc/features/steam_controller/device
For the best experience in-game, we do recommend using a controller where available.