All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiangfu Liu <xiangfu.z@gmail.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org, "Hard- and Software Development,
	Kernel, Distribution, Roadmap" <developer@lists.qi-hardware.com>
Subject: Re: (matrix_keypad driver) Re: qi_lb60_keypad driver question?
Date: Mon, 07 Sep 2009 10:50:04 +0800	[thread overview]
Message-ID: <4AA474DC.9010509@gmail.com> (raw)
In-Reply-To: <20090901021034.6117F526EA5@mailhub.coreip.homeip.net>

Hi Dmitry
Dmitry Torokhov wrote:
> Hi,
> 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.
> 
> Looking at the picture of the device that you provided it appears that
> your device does not have a dedicated '@' key so it should work in the
> same fashion as above.
> 

since we don't have X now. I google about this. I don't know how to 
modify the console driver. can you tell me which file I need look 
into? thanks.

I found an another method. we use busybox in rootfs. the busybox have 
command [dumpkmap] [loadkmap] [showkey],

-----------
in host system run :
/usr/bin/dumpkeys > normal_keymap
/usr/bin/loadkeys funky_mini_keyboard_keymap
/usr/bin/busybox dumpkmap > funky_mini_keyboard_keymap.bin
/usr/bin/loadkeys normal_keymap

then in target system run
"loadkmap funky_mini_keyboard_keymap.bin"
-----------

in our device have a two special keys
[RED UP POINT] keycode is 94
[QI] keycode is 93

the loadkeys alwasy like:
compose '|' 's' to '$' 

how to write the keycode to the loadkeys file.

I just found this method yesterday. not test yet.
anyone have experience on this?

thanks for advice

--
Best Regards
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com

  parent reply	other threads:[~2009-09-07  2:50 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 [this message]
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
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=4AA474DC.9010509@gmail.com \
    --to=xiangfu.z@gmail.com \
    --cc=developer@lists.qi-hardware.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.