# Re: (matrix\_keypad driver) Re: qi\_lb60\_keypad driver question?

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2009-09-09 08:36:29 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2009/09/8911843
- Thread: https://ratatoskr.run/linux-input/2009/08/8911755/t.md

```text
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 '@'.

-- 
Dmitry
```
