= and - for zooming is awkward on other keyboard layouts
In Spanish keyboard =
is actually shift-0
(and there's no =
key), which makes the game unplayable unless you get to change the keymap or your keyboard layout (which you can't unless you've already done the tutorial).
+
and -
is no better, since +
is shift-=
in EN layout (and you can't press shift-=
in ES, where there's no =
key).
Possible solutions:
- Using a layout agnostic combination (like
ctrl-a/z
). - Dirty but effective.
- Does not solve the underlying problem (there's not way to bind
=
in ES layout... unlessshift-0
is possible?) - Using LÖVE's Scancodes.
- Requires LÖVE 0.9.2.
- Does not solve the underlying problem (the player would have to
define
keys by scancodes which does not really map physically to their keyboard). - Using text input events.
- [...] you can't get modifiers on their own from it, only the final symbols that were generated.