hi, guys
Here is the issue.
I wanna update my mod from 1.5.x to 1.7.2.
In 1.5.x generation, I extended BaseMod and used ModLoader.registerKey method to bind my own key.
But now, there have no BaseMod and ModLoader class and I realized I should change my method.
And here I found cpw.mods.fml.client.registry.ClientRegistry.registerKeyBinding.
It seems need an entity of net.minecraft.client.settings.KeyBinding, so I looked up the forge API and just found funtions like func_151462_b, based on that I have no idea how to extend KeyBinding...