Compaq Easy Access Buttons

Justin Bennett justin.bennett at dynabrade.com
Sat Jul 27 15:03:45 EDT 2002


frank pirrone wrote:

>Justin Bennett wrote:
>
>  
>
>>Ok I know there is a way to snag what keycodes my laptop throws when you
>>push the easy access buttons then in the xconfig somewhere there is a
>>way to bind these to commands. I really don't care about the internet or
>>mail or any of that crap, but my volume controlls don't work. I have to
>>use the software controlls in the mixer, kinda hard to do in quake. Any
>>help would be apreciated.
>>
>>Justin
>>    
>>
>
>Justin,
>
>You're looking for xev to display the x events, then bind in
>/etc/X11/Xmodmap.  Here's a piece of the file as an example.
>
>! global Xmodmap file -- used by both xdm and xinit (startx)
>
>! keycode and keysym remapping should generally be used only if the X
>! server does not use the XKEYBOARD extension (i.e., there is a uncommented
>
>! line "XkbDisable" in the keyboard section of /etc/X11/XF86Config)
>
>! i386 and alpha
>! keycode 22 = BackSpace
>! keycode 107 = Delete
>
>Frank
>
>
>--
>This message has been scanned for viruses and
>dangerous content by Dynabrade using Mailscanner,
>and is believed to be clean.
>  
>
Ok I have code 174 and 176 for the down and up respectively. This is my 
Xmodmap from /;etc/X11, doesn't work though. Any ideas?

> !
> ! global Xmodmap file -- used by both xdm and xinit (startx)
>
> ! keycode and keysym remapping should generally be used only if the X
> ! server does not use the XKEYBOARD extension (i.e., there is a 
> uncommented
> ! line "XkbDisable" in the keyboard section of /etc/X11/XF86Config)
>
> ! i386 and alpha
> ! keycode 22 = BackSpace
> ! keycode 107 = Delete
>
> ! powerpc
> ! keycode 59 = BackSpace
> ! keycode 125 = Delete
>
> ! sparc
> ! keycode 50 = BackSpace
> ! keycode 73 = Delete
>
> ! Euro sign support
> ! keycode 26 = e E currency
> ! keycode 54 = c C cent
> ! keycode 113 = Mode_switch Mode_switch Multi_key
>
> keycode 174 = VolDown
> keycode 176 = VolUp
> ~







More information about the nflug mailing list