Re: Apple wireless BT keyboard: how to enable those special keys?



On Sun, 2006-07-30 at 23:04 +0200, Marko Vojinovic wrote:
On Sunday 30 July 2006 19:56, Jurgen Kramer wrote:
The Apple bluetooth keyboard works just beautifully with Fedora and the
hidd daemon. Most keys work but unfortunately some of the special keys
don't even seem to emit a key code (tested with xev).

I don't know if xev tests the keyboard correctly, but my recommendation is
showkey. First, exit X (i guess you should do a 'telinit 3'...), login to a
terminal, and type 'showkey -s'.

Thanks, I forgot about showkey.


Afer that, any key you press (or release) on the keyboard should be
identified, as seen by the kernel. If your keys do not work here, they are
not seen by the kernel, and there might be problems enabling them.
If they work, what you see are their scancodes.

The program ends itself automatically ten seconds after the last keyrelease,
and gives you back the control of the keyboard... :-)

Then start 'showkey', without any options. Test again. If the keys work, each
key is assigned the keycode, printed on the screen. If not, then the key is
not assigned the keycode, and you need to configure it.

Unfortunately the extra multimedia keys do not emit a keycode :(

Any idea how can I enable those extra keys?

I recommend reading the docs, namely:

man showkey, man setkeycodes, man keymaps, man loadkeys, man dumpkeys,
etc. :-)

Hmm, setkeycodes and friends only seem to work the the keys acctually
produce a keycode...

How to enable them in X is another story, and how to assign to them functions
such as "open xmms, start playing the song, turn off shuffle, and feed my pet
dog" is yet another story. ;-)

Best regards, :-)

That is the easy part ;-)...back to the driver.

Thanks!

Marko



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Determining scancodes for obscure keyboard to modify keymap
    ... volume control keys and an eject key but no scroll lock, num lock, ... not so useful keys into useful keys. ... As I knew from configuring my Sun USB Type 6 keyboard, ... keycode 144 = F13 ...
    (freebsd-questions)
  • Scancodes, console keycodes and X
    ... I have a Logitech Cordless MX Duo keyboard whose extra keys I want to ... So I guess this means that the kernel doesn't know what console keycode ... it should generate for these keyboard scancodes. ...
    (comp.os.linux.x)
  • Re: Typing an @ symbol on an Apple keyboard
    ... the labels on the keys). ... I would not make Alt and AltGr (that is how the right one is ... above output of xmodmap tells you that the key with code 42 will produce ... On my keyboard Alt has keycode 64 ...
    (Debian-User)
  • Re: begin and end keys while typing command
    ... a gnome-terminal (a terminal emulator in an X window). ... 'home' and 'end' keys. ... should include 'keycode NNN', where NNN is the number you ... terminate xev by closing the xev ...
    (comp.os.linux.misc)
  • Re: CommandButtons vs. KeyPreview in VB6
    ... I have a little popup on my VB6 app that contains four CommandButtons - ... work fine for all keys _except_ for the arrow keys! ... KeyUp on the Form receive the events for the arrow keys just fine. ... KeyCode = 0 ...
    (comp.lang.basic.visual.misc)