Unfortunately, wired PS2 Guitar Hero controllers will not work for Rock Band on any platform.
Here's why:
However, there are a few options if you want to use a guitar controller with Rock Band:
Overall, using a wired PS2 Guitar Hero controller with Rock Band is not possible due to the different communication protocols and lack of compatibility. You'll need to use a Rock Band-compatible controller or adapter.