Is it possible to reinterpret multiple keystrokes as a character?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is it possible to reinterpret multiple keystrokes as a character?
Hello,
Is it possible to convert multiple characters into a single character? If on this particular device, I have access to only the arrow keys, could I remap and access the entire keyboard from them?
For example:
UpDownUpDownRight = A
UpDownUpUpRight = B
UpDownDownUpRight = C
etc.
You don't say which distro or which Dekstop Environment or Window Manager, but you might be able to do something by enabling or configuring the Compose Key. However, all examples I've seen of compose key combinations are just two keys, which in your case would give you only 16 characters. That's enough for Younger Futhark but not ASCII. How are your coding skills? You might write something to do the key translation.
I have PS/2 connected to Teensy++, connected to Kindle 3 via a 20-pin ribbon cable. I have Debian running on it, no X. Unfortunately, I can only get the arrow keys to work at the moment, and was wondering how feasible it would be to get the whole keyboard working. I have some other ideas, but I wanted to investigate this possibility since the arrow keys do work.
I'm fairly comfortable on Linux, bash and occasional kernel compilation, but mostly my skills are in web-related applications.
I don't think this is going to work. Even if you use Compose, that means that one of the cursor keys would have to be used for that, so you'd be down to three. You can use more than two keystrokes with Compose, like (12), but think how long the sequences would have to be with just three keys! You can't use a keyboard driver, as that system only allows single character keys combined with a modifier, so using one arrow as a shift the other three would give just 6 letters.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.