[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / input / mapper / KeyboardInputActionMapper.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/mapper/KeyboardInputActionMapper.kt b/core/src/ru/deadsoftware/cavedroid/game/input/mapper/KeyboardInputActionMapper.kt
index 61e97932708cdcb07f122e8283a250fcfe0a89f1..8d18d070703931aeafdb4a41867d66e7c4b2cc35 100644 (file)
Input.Keys.Q -> KeyboardInputActionKey.DropItem
Input.Keys.Q -> KeyboardInputActionKey.DropItem
+ Input.Keys.NUM_1 -> KeyboardInputActionKey.SelectHotbarSlot(0)
+ Input.Keys.NUM_2 -> KeyboardInputActionKey.SelectHotbarSlot(1)
+ Input.Keys.NUM_3 -> KeyboardInputActionKey.SelectHotbarSlot(2)
+ Input.Keys.NUM_4 -> KeyboardInputActionKey.SelectHotbarSlot(3)
+ Input.Keys.NUM_5 -> KeyboardInputActionKey.SelectHotbarSlot(4)
+ Input.Keys.NUM_6 -> KeyboardInputActionKey.SelectHotbarSlot(5)
+ Input.Keys.NUM_7 -> KeyboardInputActionKey.SelectHotbarSlot(6)
+ Input.Keys.NUM_8 -> KeyboardInputActionKey.SelectHotbarSlot(7)
+ Input.Keys.NUM_9 -> KeyboardInputActionKey.SelectHotbarSlot(8)
+
else -> null
}
else -> null
}