blob: 121d99bfffe50b2edb941fb4b397c82c0f55e5a2 [file] [log] [blame] [raw]
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")
}