This has been posted several times.
Please use the search bar next time.
A keyboard for the Game Cube was made for the online playing for Phantasy Star Online.
It works fine with the Wii.
You can probably find one for about 20 bucks if you look hard enough.