linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Xiangfu Liu <xiangfu.z@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: Fn + [KEYS] question
Date: Thu, 17 Sep 2009 23:49:45 -0700	[thread overview]
Message-ID: <20090918064945.GH18668@core.coreip.homeip.net> (raw)
In-Reply-To: <4AB32C81.9040708@gmail.com>

On Fri, Sep 18, 2009 at 02:45:21PM +0800, Xiangfu Liu wrote:
> Dmitry Torokhov wrote:
> > On Thu, Sep 17, 2009 at 10:31:56AM +0800, Xiangfu Liu wrote:
> >> Dmitry Torokhov wrote:
> >>> On Wednesday 16 September 2009 10:24:25 am Xiangfu Liu wrote:
> >>>> Dmitry Torokhov wrote:
> >>>>> On Wed, Sep 16, 2009 at 10:44:01PM +0800, Xiangfu Liu wrote:
> >>>>>> Xiangfu Liu wrote:
> >>>>>>> Hi Dmitry
> >>>>>>>
> >>>>>>>>>  thanks for the reply.
> >>>>>>>>> see [1], I change the [Red arrow] key to [ALTGR] then I can easy
> >>>>>>>>> change the defkeymap.map. make all the red keys work.
> >>>>>>>>>
> >>>>>>>>> but for the [Blue Fn] key. I don't know how to make it work in
> >>>>>>>>> keymap? there is [SHIFT] [CONTROL] [SHIFT] [ALTGR] four modifier
> >>>>>>>>> keys. all used. so I can not may the [Fn] to those four modifier
> >>>>>>>>> keys.
> >>>>>>>>>
> >>>>>>>>> can I make the leftAlt and rightAlt generate different keys?
> >>>>>>>>> like:
> >>>>>>>>>  LeftAlt + 'U' = Alt + 'U'
> >>>>>>>>>  RightAlt + 'U' = '7'
> >>>>>>>> Keyboard driver supports 9 modifiers total, you should be able use one
> >>>>>>>> of these for your numeric buttons.
> >>>>>>> oh. can you give me some tips on the other modifiers.
> >>>>>>> how to define them?
> >>>>>>> can I just change the defkeymap.map file?
> >>>>>>> or I must change the source code?
> >>>>>> Hi Dmitry I found this[1] in the 'man keymaps', three are 9 modifiers.
> >>>>>> but the in defkaymap.map, there is alwasy like:
> >>>>>>
> >>>>>> control keycode  53 = Delete
> >>>>>>
> >>>>>> there is no ctrll in the defkeymap.map.
> >>>>>> how to implement this?
> >>>>>>
> >>>>>> ShiftL + u = U
> >>>>>> ShiflR + u = 7
> >>>>> The same as with AltGr you need to do
> >>>>>
> >>>>> keycode XX = CtrlR
> >>>>>
> >>>>> and then
> >>>>>
> >>>>> keycode YY = u
> >>>>> shift keycode YY = U
> >>>>> ctrlr keycode YY = seven
> >>>> Hi Dmitry
> >>>> thanks for the reply. I test this, it's not work.
> >>>> ----------
> >>>> $ loadkeys -m defkeymap.map > defkeymap.c && rm defkeymap.o
> >>>> loadkeys: defkeymap.map:71: adding map 64 violates explicit keymaps line
> >>> You need to fix this ^^^^ first.
> >>>
> >> the line 71 is the "ctrlr ....", so I think the defkeymap.map not support 
> >> the "ctrlr".
> >>
> > 
> > Please look at the very beginning of the file where there is "keymaps"
> > statement - you need to enable keymap 64.
> > 
> Hi Dmitry.
> very thanks. it's work now.

Great! I am glad to hear you were able to work this out.

-- 
Dmitry

      reply	other threads:[~2009-09-18  6:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16  7:24 Fn + [KEYS] question Xiangfu Liu
2009-09-16  7:32 ` Dmitry Torokhov
2009-09-16  7:43   ` Xiangfu Liu
2009-09-16  8:06     ` Dmitry Torokhov
2009-09-16  9:25       ` Xiangfu Liu
2009-09-16 14:44         ` Xiangfu Liu
2009-09-16 16:33           ` Dmitry Torokhov
2009-09-16 17:24             ` Xiangfu Liu
2009-09-16 17:40               ` Dmitry Torokhov
2009-09-17  2:31                 ` Xiangfu Liu
2009-09-18  5:45                   ` Dmitry Torokhov
2009-09-18  6:45                     ` Xiangfu Liu
2009-09-18  6:49                       ` Dmitry Torokhov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090918064945.GH18668@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=xiangfu.z@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).