| package li.cil.oc.client |
| |
| import cpw.mods.fml.client.FMLClientHandler |
| import net.minecraft.client.settings.KeyBinding |
| import org.lwjgl.input.Keyboard |
| |
| object KeyBindings { |
| def showExtendedTooltips = Keyboard.isKeyDown(extendedTooltip.getKeyCode) |
| |
| def showMaterialCosts = Keyboard.isKeyDown(materialCosts.getKeyCode) |
| |
| val extendedTooltip = FMLClientHandler.instance.getClient.gameSettings.keyBindSneak |
| |
| val materialCosts = new KeyBinding("key.materialCosts", Keyboard.KEY_LMENU, "OpenComputers") |
| |
| val clipboardPaste = new KeyBinding("key.clipboardPaste", Keyboard.KEY_INSERT, "OpenComputers") |
| } |