Determining scancodes for obscure keyboard to modify keymap

2009-02-24 Thread carnage
I'm wondering how to go about determining the scancodes for keys on keypress. I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 volume control keys and an eject key but no scroll lock, num lock, pause/break, etc. I'm wondering how I would go about changing some of these not

Re: Determining scancodes for obscure keyboard to modify keymap

2009-02-24 Thread Patrick Lamaizière
Le Tue, 24 Feb 2009 14:28:54 -0700, carnage carnagewash...@gmail.com: I'm wondering how to go about determining the scancodes for keys on keypress. I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 volume control keys and an eject key but no scroll lock, num lock,

Re: Determining scancodes for obscure keyboard to modify keymap

2009-02-24 Thread Roland Smith
On Tue, Feb 24, 2009 at 02:28:54PM -0700, carnage wrote: I'm wondering how to go about determining the scancodes for keys on keypress. Try xev(1). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much

Re: Determining scancodes for obscure keyboard to modify keymap

2009-02-24 Thread Bill Campbell
On Tue, Feb 24, 2009, Patrick Lamaizi?re wrote: Le Tue, 24 Feb 2009 14:28:54 -0700, carnage carnagewash...@gmail.com: I'm wondering how to go about determining the scancodes for keys on keypress. I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 volume control keys and

Re: Determining scancodes for obscure keyboard to modify keymap

2009-02-24 Thread Polytropon
On Tue, 24 Feb 2009 14:28:54 -0700, carnage carnagewash...@gmail.com wrote: I am looking to remap an apple usb keyboard (a1048). It has F13-16, 3 volume control keys and an eject key but no scroll lock, num lock, pause/break, etc. I'm wondering how I would go about changing some of these not

Re: Determining scancodes for obscure keyboard to modify keymap

2009-02-24 Thread Michel Talon
Bill Campbell wrote: As somebody else pointed out, xev is your friend. I am attaching the .Xmodmap file I use on OS X to allow the numeric keypad on the Microsoft 4000 natural keybaord to do the Right Thing(tm) (e.g. send numbers when using python curses). Scancodes have nothing (*) to do