Comment by 🛰️ lufte

=> Re: "How to provide configurable keyboard shortcuts to users of..." | In: s/programming

I am using a toolkit and, since the last version, it provides a great level of abstraction over this. I get to choose between the hardware keycode, the virtual keycode (after layouts and re-mappings), and the actual character being written by the key press (if any). I'm mostly conviced of choosing the latter, when available, but I'm still unsure about the modifier. If ':' can only be produced by pressing Shift, should the "Shift+:" and ":" bindings both work or only the first one?

=> 🛰️ lufte [OP]

2024-05-06 · 8 months ago

Original Post

=> 🌒 s/programming

How to provide configurable keyboard shortcuts to users of my application? — I'm writing a desktop app that provides configurable keyboard shortcuts. For now these are set up by writing key sequences to a file. Of course, something that sounds straightforward stops being so as soon as you get past the surface. I am now trying to figure out what's more "intuitive" (if such thing even exists) when you're trying to serialize a sequence of keystrokes to text. For example, let's say you have a US...

=> 💬 lufte · 4 comments · 2024-05-05 · 9 months ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/lufte/16629
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
64.56226 milliseconds
Gemini-to-HTML Time
0.490676 milliseconds

This content has been proxied by September (ba2dc).