This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Key mapping

Tags: None
(comma "," separated)
rdlittle
Registered Member
Posts
1
Karma
0

Key mapping

Sun Aug 09, 2015 2:38 pm
The debugger for the environment I work in uses "S" to step over an instruction. It uses "S*" to step over a call to an external subroutine (rather than stepping into the subroutine). I have a key combination mapped so that Down+Shift-AppScreen will send S\r which works fine. I can't figure out how to map a literal "*" (asterisk mark). So attempts to map S*\r end up as S6\r.

How do I tell keyboard mapping to literally use the asterisk character?
luebking
Karma
0

Re: Key mapping

Sun Aug 09, 2015 6:55 pm
You're using the khotkeys daemon¹ to "map" this input (rather than, well, "mapping" it via xmodmap or xkb)?

I also guess "*" for you is Shift+6?

The system imitates key presses, so you actually need to make it send Shift+6 to get an "*" out of it.

Iirc, you'll also have to
Code: Select all
S:Shift+6:\:r


to ensure disjunct events, so the shift doesn't carry over to the "\" (and i think the "Shift" is case sensitive, but I'm not sure at hand whether it was shift, Shift or SHIFT ;-)

[1] what shows up on "kcmshell4 khotkeys" resp. "kcmshell5 khotkeys" on KDE 5


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]