hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.32k stars 289 forks source link

[CONTENT] Make pressed possible with lowercase special keys #3701

Open ToniSkulj opened 1 year ago

ToniSkulj commented 1 year ago

3664 Makes it possible to bind 'special' commands such as Shift and Tab. It would be very nice if we can make it possible to use lowercase letters only such as shift and tab.

Current implementation: image

eremmel commented 1 year ago

The Shift, Ctrl, Alt, etc are so called key modifiers (Tab is not), and most of time not (only at very low level) used on their own (or do I have too less game experience?). My experience is that you combine them with a certain key like: Alt-a or Alt-A == Alt-Shift-A etc.

Another interesting set of keys would be the arrow keys, or should I expect that h,j,k,l is the way to go (I like to support VIm, but ...)

I think it is also good to make a difference between a letter that is expected and a variable with the same name (at least for the higher levels, that will it also make more simple to support for instance tokens like @, !, #, $ in future. Having a single character string might do the trick.