Datacup / dfhackscripts

Some dfhack scripts from friends of keupo on twitch
Apache License 2.0
9 stars 3 forks source link

[] and /* don't work on qwertz keyboards #31

Open akasurak opened 3 years ago

akasurak commented 3 years ago

probably because they're a double-meta key combo (which I don't know how to handle yet in dfhack lua), and alt-gr which is specifically the right alt key.

c,v,b,n are unused on the gui/digshape screen so can at least be used there. I should add some pointer comments so that end users can rebind those four keys until I get a better fix.

It's also possible this is a normal dfhack issue when the language isn't set to english. Should check other scripts to see if they use SECONDSCROLL_PAGEUP /DOWN and see if they work or if they use a different way of reading keypresses.

lethosor commented 3 years ago

There are several scripts using SECONDSCROLL keys. Examples:

If I'm interpreting this correctly, it sounds like you have to press an extra modifier key to produce any of the symbols you mentioned, yes? In that case, you might be able to get the keys working by switching DF's keybindings for the secondary scroll keys to "By letter" instead of "By position", if they aren't "By letter" already.