LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-12-2017, 08:20 PM   #1
mrandrey
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Rep: Reputation: Disabled
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.

Thanks.
 
Old 02-12-2017, 10:47 PM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,235
Blog Entries: 3

Rep: Reputation: 3710Reputation: 3710Reputation: 3710Reputation: 3710Reputation: 3710Reputation: 3710Reputation: 3710Reputation: 3710Reputation: 3710Reputation: 3710Reputation: 3710
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.
 
Old 02-12-2017, 11:13 PM   #3
mrandrey
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.

Thanks.
 
Old 02-13-2017, 03:50 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,921

Rep: Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618
I don't see any way to use just the arrow keys to do much.

Alt or ctrl and numbers would be something.
 
Old 02-14-2017, 12:03 PM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,130

Rep: Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 5.6, Gnome terminal, Xmodmap: remap multiple keystrokes? needsleep Linux - Newbie 4 06-09-2011 08:02 AM
about wide character and multiple byte character George2 Programming 5 05-23-2006 01:03 AM
cut with multiple character delimeter krock923 Programming 9 12-21-2004 07:38 PM
winkey mapped to multiple character input g-off Linux - General 0 02-24-2004 02:26 AM
Multiple keystrokes in UT2003... Thermodynamic Linux - Games 1 01-26-2004 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration