Hello, I'm working on a GUI for my mod that opens when you press the Backslash key or key 43. I looked into it and it seems that all the tutorials here and the Forge forums seem to use the ModLoader.registerKey function and I have nothing against ModLoader but to use that function you need to have your class extend BaseMod. I really don't want to have to make a separate mod file, so what I'm asking is how do I add a key binding without having to extend BaseMod. Any tutorials or links are appreciated. Thank you in advance.
[Forge][1.5.1]Key Binding