special symbols to use shortcuts instead of literals

This commit is contained in:
minjaesong
2019-08-05 04:19:00 +09:00
parent bed655448d
commit 63b1fcb870
17 changed files with 51 additions and 24 deletions

View File

@@ -1,5 +1,9 @@
package net.torvald.terrarum.controller
import net.torvald.CURRENCY
import net.torvald.EMDASH
import net.torvald.MIDDOT
/**
* Created by minjaesong on 2019-04-10.
*/
@@ -13,7 +17,7 @@ object GamepadVirtualKeyboard : VirtualKeyboard(20) {
// aeiouszc-caron must be produced as-is. Otherwise breve is produced instead.
val keyLayoutSym = arrayOf(
"12345,", "67890.", "-/:;()", "&@?!'\"", "#%^*+", "=_\\|<>", "·¤[]{}", "«»•"
"12345,", "67890.", "-/:;()", "&@?!'\"", "$EMDASH#%^*+", "=_\\|<>", "$MIDDOT$CURRENCY[]{}", "«»•"
)
override fun takeFromInputBuffer() {