Xbox Controller setup for Garry's Mod.
If you like my mods and want to send a donation, view my profile page for donation options.
I have found a way to use a Xbox Gamepad for Garry's Mod. This will require AntimicroX which is a piece of software to allow you to map keyboard keys and mouse controls to a gamepad. There is the main controls that are the default controller setup for the game or there is the Call Of Duty controls that setup as Call Of Duty controls.
Main Controls
A-Jump
B-Reload
X-Use
Y-Next Weapon
LB-Previous Weapon
RB-Next Weapon
LT-Duck
RT-Shoot/Left Click
Start-Pause/(To Console Mode) (Hold)
Back-Scoreboard
D-Pad Up-Show Menu
D-Pad Down-Show Context Menu
D-Pad Left-Undo
D-Pad Right-Flashlight/No Clip Mode
Left Joystick Button-Sprint
Right Joystick Button-Zoom/Alternative Fire
Left Joystick-Move
Right Joystick-Look/Mouse
COD Controls
A-Jump
B-Duck
X-Reload/Use
Y-Next Weapon
LB-Previous Weapon
RB-Next Weapon
LT-Zoom/Alternative Fire
RT-Shoot/Left Click
Start-Pause/(To Console Mode) (Hold)
Back-Scoreboard
D-Pad Up-Show Menu
D-Pad Down-Show Context Menu
D-Pad Left-Undo
D-Pad Right-Flashlight/No Clip Mode
Left Joystick Button-Sprint
Right Joystick Button-Knife
Left Joystick-Move
Right Joystick-Look/Mouse
Console Controls
Back-Enter
Start-(Back To Main Controls)
If your running the game in compatibility mode or as a administrator you may need to run AntimicroX under compatibility mode or as a administrator.
Launch Garry's Mod and go to Options->Keyboard->Advanced and check off the Fast Weapon Switch box, The go to Options->Keyboard under Miscellaneous Movement Clear all the Keys for each control except for the Toggle Developer Console and then set the Walk (Move Slowly) key to (.).
To disable the Xbox 360 popup window when you press the Xbox Guide Button press the Windows Key + R and type msconfig. Then go to Startup and right click on XboxStat.exe and disable it.
To run the AntimicroX profile when the game launches make sure the auto profile is linked to the hl2.exe
The source code in this work is licensed under Unlicense. To view a copy of this license, visit
Unlicense.org