The primary hurdle is that Bad Company 2 was built using "DirectInput" for controllers. In 2010, many PC games still required players to manually map their buttons, and there was no standardized expectation that an on-screen prompt would show an "X" or an "O."
Battlefield: Bad Company 2 does not have native controller support on PC battlefield bad company 2 pc controller support
Alternatively, check out (a low-poly homage to BC2) which has excellent controller support on PC with full aim assist customization. The primary hurdle is that Bad Company 2
Battlefield: Bad Company 2 supports controller input on PC, but it's not enabled by default. Players need to configure their controller settings manually. The game supports a wide range of controllers, including: Players need to configure their controller settings manually
Out of the box, BC2 has native support for Xbox 360 and DirectInput controllers (like older Logitech pads). Plug in a compatible controller, and the game will recognize it immediately. The button prompts (A, B, X, Y) even display correctly for Xbox controllers. For PS4/PS5 controllers, you will need third-party software like DS4Windows to emulate an Xbox pad.
One of the biggest complaints regarding controller support in Bad Company 2 is the User Interface (UI).