CC: Gamepads adds a CC:Tweaked peripheral block which lets ComputerCraft computers read real gamepad/controller input from players.
The controller is read on the player client, sent to the server, and exposed to Lua through a bound Gamepad Peripheral. This works in singleplayer, LAN, and dedicated multiplayer servers.
Gamepad Peripheral block next to, or connected by modem to, a CC:Tweaked computer.Gamepad item.Up to 4 players can send input to the same Gamepad Peripheral at once. Each player gets a slot from 1 to 4.