Re: multimedia keyboard
On Thu, May 15, 2003 at 06:16:50PM +0200, leva@ecentrum.hu wrote:
> I have a Logitech Internet Navigator Keyboard, and I want to use the
> extra buttons on it (like e-mail, search etc...).
Assuming your in X, use xev to get the keycodes for each of the extra
keys. Once you have the keycodes, you can use xmodmap to map these
keycodes to known but unused keys.
I have a Logitech Cordless Desktop Pro that has quite a few "extra" keys
around it. I have the following in ~/.Xmodmap:
!
! Designed to be used with Multimedia keyboards
! that are configured as "pc104" in X
!
keycode 223 = F35
keycode 178 = F34
keycode 236 = F33
keycode 229 = F32
keycode 230 = F31
keycode 160 = F30
keycode 174 = F29
keycode 176 = F28
keycode 162 = F27
keycode 164 = F26
keycode 144 = F25
keycode 153 = F24
keycode 161 = F23
keycode 130 = F19
! These should be handled by the pc104 layout
!keycode 115 = F22
!keycode 116 = F21
!keycode 117 = F20
The !'s are comments. I then map the keys with "xmodmap ~/.Xmodmap".
Then xev shows the value on the right hand side for the keysym.
--
Jamin W. Collins
Remember, root always has a loaded gun. Don't run around with it unless
you absolutely need it. -- Vineet Kumar
Reply to: