From: Xiangfu Liu <xiangfu.z@gmail.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: (matrix_keypad driver) Re: qi_lb60_keypad driver question?
Date: Wed, 09 Sep 2009 16:46:58 +0800 [thread overview]
Message-ID: <4AA76B82.2080200@gmail.com> (raw)
In-Reply-To: <20090909090955.1473A526EC9@mailhub.coreip.homeip.net>
Dmitry Torokhov wrote:
> Hi Xiangfu,
>
> On Wed, Sep 09, 2009 at 03:35:21PM +0800, Xiangfu Liu wrote:
>> Dmitry Torokhov wrote:
>>> Hi,
>>>
>>> On Mon, Aug 31, 2009 at 12:06:42AM +0800, Xiangfu Liu wrote:
>>>> Hi
>>>> now the keypad in Ben NanoNote[1] is work. problem is I don't know
>>>> how to write the special assemble key of matrix_key driver. some kind
>>>> of 'SHIFT', like the red key in [2]. when I press the 'RED UP POINT'
>>>> + 'W' = '@'
>>>>
>>> Historically our KEY_* definitions did not include defines for symbols
>>> like '@' because they do not have a dedicated key but rather being
>>> produced as a combination of a primary key + modifier; the mapping is
>>> done either in console driver or in X.
>>>
>> thanks Dmitry.
>> can you point me which file I need look into,
>
> I believe you already discovered loadkeys and the keyboard maps that are
> used in console mode. I believe you just need to make your 'up point'
> key a modifier and make sure that 'W' with that particular modifier
> emits '@'.
>
the keycode 94 is the 'up point'
the loadkeys always like:
keycode 94 = Compose
compose 'w' 'w' to '@'
it's take three keys not two.
I must press 'up point' + 'w' + 'w' then it's will display '@'.
not 'up point' + 'w' = '@'
thanks for reply.
--
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com
next prev parent reply other threads:[~2009-09-09 8:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 16:32 qi_lb60_keypad driver question? Xiangfu Liu
2009-08-12 2:15 ` Dmitry Torokhov
2009-08-12 2:41 ` Xiangfu Liu
2009-08-30 16:06 ` (matrix_keypad driver) " Xiangfu Liu
2009-09-01 1:37 ` Dmitry Torokhov
2009-09-04 11:38 ` Xiangfu Liu
2009-09-07 2:50 ` Xiangfu Liu
2009-09-08 16:48 ` matrix_keypad driver, Combination keys Xiangfu Liu
2009-09-09 7:35 ` (matrix_keypad driver) Re: qi_lb60_keypad driver question? Xiangfu Liu
2009-09-09 8:36 ` Dmitry Torokhov
2009-09-09 8:46 ` Xiangfu Liu [this message]
2009-09-09 9:14 ` Dmitry Torokhov
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=4AA76B82.2080200@gmail.com \
--to=xiangfu.z@gmail.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.