mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 03:59:37 +00:00
Move the directory structure around to a more conventional one and start out on the 1.7 update.
3797 errors. We have a long way to go.
This commit is contained in:
1 parent
3a0de87a09
commit
ab47724473
1245 files changed
+1764
-5953
No files matched your search
@@ -0,0 +1,30 @@
|
||||
package mekanism.client;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import net.minecraft.client.settings.KeyBinding;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.Type;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class MekanismKeyHandler extends MekKeyHandler
|
||||
{
|
||||
public static final String keybindCategory = "key.mekanism.category";
|
||||
public static KeyBinding modeSwitchKey = new KeyBinding("Mekanism Mode Switch", Keyboard.KEY_M, keybindCategory);
|
||||
public static KeyBinding voiceKey = new KeyBinding("Mekanism Voice", Keyboard.KEY_U, keybindCategory);
|
||||
|
||||
public MekanismKeyHandler()
|
||||
{
|
||||
super(new KeyBinding[] {modeSwitchKey, voiceKey}, new boolean[] {false, false});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void keyDown(Type types, KeyBinding kb, boolean tickEnd, boolean isRepeat) {}
|
||||
|
||||
@Override
|
||||
public void keyUp(Type types, KeyBinding kb, boolean tickEnd) {}
|
||||
}
|
||||
Reference in new issue
Block a user