From 848587325cd5af05aad764367452024245315570 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 3 Jul 2020 12:10:09 -0700 Subject: [PATCH] fix keyboard bind for DecreaseFrequencyButton and IncreaseFrequencyButton --- .../terasology/gookeeper/input/DecreaseFrequencyButton.java | 4 ++-- .../terasology/gookeeper/input/IncreaseFrequencyButton.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/terasology/gookeeper/input/DecreaseFrequencyButton.java b/src/main/java/org/terasology/gookeeper/input/DecreaseFrequencyButton.java index a4de1d1..e9fc55f 100644 --- a/src/main/java/org/terasology/gookeeper/input/DecreaseFrequencyButton.java +++ b/src/main/java/org/terasology/gookeeper/input/DecreaseFrequencyButton.java @@ -15,16 +15,16 @@ */ package org.terasology.gookeeper.input; -import org.lwjgl.input.Keyboard; import org.terasology.input.BindButtonEvent; import org.terasology.input.DefaultBinding; import org.terasology.input.InputType; +import org.terasology.input.Keyboard; import org.terasology.input.RegisterBindButton; /** * */ @RegisterBindButton(id = "freq_decrease", description = "Decrease PlazMaster's frequency") -@DefaultBinding(type = InputType.KEY, id = Keyboard.KEY_SUBTRACT) +@DefaultBinding(type = InputType.KEY, id = Keyboard.KeyId.MINUS) public class DecreaseFrequencyButton extends BindButtonEvent { } diff --git a/src/main/java/org/terasology/gookeeper/input/IncreaseFrequencyButton.java b/src/main/java/org/terasology/gookeeper/input/IncreaseFrequencyButton.java index dd3ddbc..2089d88 100644 --- a/src/main/java/org/terasology/gookeeper/input/IncreaseFrequencyButton.java +++ b/src/main/java/org/terasology/gookeeper/input/IncreaseFrequencyButton.java @@ -15,16 +15,16 @@ */ package org.terasology.gookeeper.input; -import org.lwjgl.input.Keyboard; import org.terasology.input.BindButtonEvent; import org.terasology.input.DefaultBinding; import org.terasology.input.InputType; +import org.terasology.input.Keyboard; import org.terasology.input.RegisterBindButton; /** * */ @RegisterBindButton(id = "freq_increase", description = "Increase PlazMaster's frequency") -@DefaultBinding(type = InputType.KEY, id = Keyboard.KEY_SEMICOLON) +@DefaultBinding(type = InputType.KEY, id = Keyboard.KeyId.SEMICOLON) public class IncreaseFrequencyButton extends BindButtonEvent { }