rubenwardy wrote: ↑Thu Aug 08, 2024 23:52
Zughy wrote: ↑Thu Aug 08, 2024 23:40
Regarding + and -, I guess most PC users have a numpad.
I doubt this statistic, I think Ten Keyless keyboards are more popular especially given the popularity of laptops over desktops
Going to +1 this even though I use a full size K120. We can't underestimate the amount of people who don't have the numpad keys. Also, it really feels like a bug when - works to decrease range but + doesn't.
Another conundrum lies in this: if we bound increase range to =, that would preclude the use of the numpad. I figure that sacrifice is worth making. It's less distance away from the home row anyway.
The / shortcut presents a bigger challenge. It's not found in any consistent place. If you compare any 3 world keyboards at random, they may all have the / at a different place:
- US, GB: left of right shift
- DE, NO: Shift+6
- FR: Shift+key 2 keys right of right shift; > on the US layout
Hardcoding Shift+6 or > therefore is not a scalable solution. Even if we added all the major layouts, we'd still also be comparing to a potentially long list of different keys.
Yet removing the shortcut doesn't seem good either. I use it all the time on my US layout keyboard and I figure most users do too, even on different layouts. This is why I
mentioned my idea of showing where the keys are on a depiction of a keyboard previously. The key still works across layouts, it's just that the correct character is not displayed in the controls menu.
I figure we either work out what the correct character is on the user's keyboard and display that in the controls menu, or use a depiction of a keyboard. The first solution is kind of hard to work out, and the hope with SDL was hopefully
not to do that sort of thing; also it could be quite confusing for users who switch layouts dynamically, which is a lot of multilingual people (or basically-monolingual-but-curious people). The second solution requires a rework to the formspec and a graphic, but I figure that is easier to do.
To conclude, I don't think SDL needs to be ditched as the default build, we can work something out.