Map multimedia keys to characters?

I've got five multimedia keys on the edge of my keyboard and they are aligned just properly to be used as input in Frets On Fire Game doesn't recognize those keys though, so I was wondering is there a way to make the multimedia keys to generate for example characters a, b, c, d and e? Then they should work in the game?

Ok, thanks I got all them but one working. Four of these keys return keycodes: 129, 144, 153 and 162. They are also recognized by xev. But one of them doesn't print anything in xev. I tried with "showkey -k" and it told me that the keycode is 410. Even though I mapped that keycode with xmodmap it doesn't print anything. All the other multimedia keys now print characters. What's the problem?
edit: It seems that xorg doesn't like keycodes above 255. So I have to somehow map that one button to generate keycode below 255. I could probably do it with setkeycodes? Problem is that I've got no idea what the scan code of that button is, because it doesn't show up anywhere. "showkey -k" shows 410 and "showkey -s" shows nothing (for other key it shows the scan code normally). Weird...
Last edited by mikoro (2008-01-20 13:34:27)

Similar Messages

  • Dell Vostro 3560 multimedia keys - how to map them

    Hi,
    when i press one of the multimedia keys, this is the dmesg i get:
    dell_wmi: Unknown key e028 pressed
    How can I map this to a command?
    Thank you

    No guarantees, but check these out: SteerMouse, ControllerMate, and USBOverdrive,

  • Multimedia Keys in Awesome Window Manager [SOLVED]

    Hey,
    I've googled, searched, grepped and scanned about this for weeks, and I think I can't get it working on my own, although I'm sure the right answer is just out there waiting to be found, and one of you brighter minds might just know it already. Right, here's what happens.
    I was using openbox, and the keybindings were working just fine. This should probably discard missing symbols or scancodes for the keys, IMHO. Then I switch over to Awesome, and fall in love. The awesome (pun intended) config files by anrxc made it even better, and these days I can't live without my awesome. But I also wanted my volume keys to work. Not like I mind opening a terminal and popping alsamixer... I got 15 of them open all the time anyway. But I still wanted to use the fancy buttons.
    The strange thing is, the keys seem to "disappear" as soon as I map them somewhere. I've tried binding them in rc.lua:
    awful.key({}, "#121", function () exec("pvol.py -m", false) end),
    awful.key({}, "#122", function () exec("pvol.py -c -2", false) end),
    awful.key({}, "#123", function () exec("pvol.py -c 2", false) end),
    pvol.py is a script (made by anrxc too) that does stuff to the volume and displays a cute gtk progress bar to indicate current volume level. Invoking it from the terminal works fine.
    I also tried using xbindkeys:
    "pvol.py -m"
    XF86AudioMute
    "pvol.py -c -2"
    XF86AudioLowerVolume
    "pvol.py -c 2"
    XF86AudioRaiseVolume
    But the result was the same. Here's the output of xev with the keys unbound:
    KeyPress event, serial 25, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4706773, (74,267), root:(796,288),
    state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4706853, (74,267), root:(796,288),
    state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4712422, (74,267), root:(796,288),
    state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4712534, (74,267), root:(796,288),
    state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4713862, (74,267), root:(796,288),
    state 0x10, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4713878, (74,267), root:(796,288),
    state 0x10, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    As you can see, they respond to the key codes 121. 122, and 123. Going to a console and running showkey, however, gives me the key codes 113, 114, and 115. I've tried mapping both, and the X11 symbols, with the same result. Below, a sample of xev's output when I bind the keys somewhere (out put for a single key, all result in the same output):
    FocusOut event, serial 29, synthetic NO, window 0x1600001,
    mode NotifyGrab, detail NotifyAncestor
    FocusIn event, serial 29, synthetic NO, window 0x1600001,
    mode NotifyUngrab, detail NotifyAncestor
    KeymapNotify event, serial 29, synthetic NO, window 0x0,
    keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    And of course, nothing happens. The same happens whether I bind the keys in awesome or through xbindkeys. I have to admit, I'm pretty much out of ideas. Anyone seen this before?
    Last edited by mkaito (2010-06-16 15:06:06)

    d2ogch3n wrote:
    Here's what I have
        -- Multimedia keys
        awful.key({ }, "XF86AudioRaiseVolume",    function () awful.util.spawn("amixer set Master 2+") end),
        awful.key({ }, "XF86AudioLowerVolume",    function () awful.util.spawn("amixer set Master 2-") end)
    Just to clarify for anyone who comes across this, "%" is needed after the number. It should be:
    awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 2%+") end),
    awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 2%-") end)
    You should also be able to add Mute functionality:
    awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle") end)
    Also, to get rid of the loading cursor, pass false as a second argument to all three of these:
    awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 2%+", false) end),
    awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 2%-", false) end)
    awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle", false) end)
    The AWM wiki is the source for this:
    http://awesome.naquadah.org/wiki/Volume … nd_display

  • USB Keyboard Multimedia keys ; two input devices for one keyboard.

    Hi. I can't get my multimedia keys to work (Microsoft Wireless Laser Desktop USB keyboard). They don't show up in dmesg, xev, or the command line scan code program at all, even though the standard keys show as usual.
    One peculiarity is that the keyboard appears to be mapped to two devices /dev/input/event3 (the standard keys) and /dev/input/event4 (the multimedia keys) ; is there a way to "merge" the two inputs ? Is it a kernel problem ?
    TIA, Paul

    I solved my problem :-)
    Keyboard creates two event devices:
    lrwxrwxrwx 1 root root 9 lip 17 12:57 pci-0000:00:1a.1-usb-0:1:1.0-event-kbd -> ../event1
    lrwxrwxrwx 1 root root 9 lip 17 12:57 pci-0000:00:1a.1-usb-0:1:1.1-event- -> ../event2
    I had only first of it configured in xorg.conf (normal keys). I configured second device as below  (Identifier  "Multimedia keys"):
    # Core keyboard's InputDevice section
    Section "InputDevice"
    Identifier "Logitech Media Keyboard 600"
    Driver "evdev"
    Option "Device" "/dev/input/by-id/usb-Logitech_Logitech_USB_Keyboard-event-kbd" # it is my event1
    Option "XkbModel" "evdev"
    Option "XkbLayout" "pl"
    Option "evBits" "+1"
    Option "keyBits" "~1-255 ~352-511"
    Option "Pass" "3"
    EndSection
    Section "InputDevice"
    Identifier "Multimedia keys"
    Driver "evdev"
    Option "Device" "/dev/input/by-path/pci-0000:00:1a.1-usb-0:1:1.1-event-" # it is my event2
    Option "XkbModel" "evdev"
    Option "Protocol" "evdev"
    EndSection
    In Serverlayout I added entry for  InputDevice  "Multimedia keys":
    Section "ServerLayout"
    Identifier "Dual Head"
    InputDevice "Logitech MX620" "CorePointer"
    InputDevice "Logitech Media keyboard 600" "CoreKeyboard"
    InputDevice "Multimedia keys" "SendCoreEvents"
    Screen "Desktop"
    EndSection
    And almost all multimedia keys started to work.
    I had small problems with couple of keys which created keycodes greater than 255. I used keyfuzz to remap these keycodes to something smaller than 255.
    After that i scaned all keycodes with xev, and mapped them to keysymlinks with xmodmap.
    Now all media keys are working and I can configure KDE to use it.

  • Xmodmap: problems emulating multimedia keys

    Using xmodmap I have remapped my Menu key to Mode_switch and used the modifier to emulate some multimedia keys, like this:
    keycode 75 = F9 F9 XF86AudioPlay F9 F9 F9 XF86Switch_VT_9 F9 F9 XF86Switch_VT_9 F9 F9 F9 F9 XF86Switch_VT_9 F9 F9 F9 F9 XF86Switch_VT_9
    keycode 76 = F10 F10 XF86AudioStop F10 F10 F10 XF86Switch_VT_10 F10 F10 XF86Switch_VT_10 F10 F10 F10 F10 XF86Switch_VT_10 F10 F10 F10 F10 XF86Switch_VT_10
    keycode 95 = F11 F11 XF86AudioPrev F11 F11 F11 XF86Switch_VT_11 F11 F11 XF86Switch_VT_11 F11 F11 F11 F11 XF86Switch_VT_11 F11 F11 F11 F11 XF86Switch_VT_11
    keycode 96 = F12 F12 XF86AudioNext F12 F12 F12 XF86Switch_VT_12 F12 F12 XF86Switch_VT_12 F12 F12 F12 F12 XF86Switch_VT_12 F12 F12 F12 F12 XF86Switch_VT_12
    keycode 78 = Scroll_Lock NoSymbol XF86AudioLowerVolume NoSymbol Scroll_Lock Scroll_Lock
    keycode 107 = Print Sys_Req XF86AudioMute Sys_Req Print Sys_Req Print Sys_Req
    keycode 127 = Pause Break XF86AudioRaiseVolume Break Pause Break Pause Break
    keycode 135 = Mode_switch
    clear mod3
    clear mod4
    clear mod5
    !add shift = Shift_L Shift_R
    !add lock = Caps_Lock
    !add control = Control_L Control_R
    !add mod1 = Alt_L Meta_L Alt_R
    !add mod2 = Num_Lock
    add mod3 = Mode_switch
    add mod4 = Super_L Hyper_L
    add mod5 = ISO_Level3_Shift
    Testing with xev, I see that the codes are sent correctly.
    But in kde, only mute button works.
    The other controls, like volume up/down, etc, are ignored.
    My intention was to emulate the behavior of Fn + various keys from laptops and keyboards with similar functionality.
    Any thoughts what is wrong? I searched a lot of info and didn't find any clues.

    Yeah, I forgot to mention, when I try to set a new custom shortcut, and I press first Menu, it doesn't wait for the next key and I the label changes to unprintable characters.

  • Remapping the multimedia key on n95 8gb

    Ok i reinstalled v15 and realised that the multimedia key doesn't bring me to the multimedia menu anymore. How do i re map?

    ok i think the problem is caused by rotate me. I don't know why this time round there's a program clash. Strange

  • Key mapping/ remote key

    Hi All,
    I  have some understanding of key mapping internal functionality.
    my question is ... should I use this key mapping feature from all look up tables, main table while importing from remote systems?
    should all my feilds have REMOTE KEY enabled.
    Lets say I have loaded data into my repository from 3 different remote systems(R1,R2,R3) using remote key feature.
    Now, I want to see all the records that belong to R1 only or R2 only?
    Can this be seen using remote mapping feature? or how can I see only specific records for one remote system.... should i create another field that identifies the source and just map it? ....... generally how do we handle this?
    Also, have uploaded the data for my lookup table DIVISIONS,when i try syndicating it for remote R1......
    in my destination preview i can see some records that belong to only R2 and R3 also. I mean I am not able to see only the
    records belong to R1 system.
    I mapped
    division <-> div
    desc     <-> desc
    there are two more keys like remote key, v...... Should I also map these keys?
    Pls let me know,
    Thanks & regards,
    Vee

    Hi,
    my question is ... should I use this key mapping feature from all look up tables, main table while importing from remote systems?
    should all my feilds have REMOTE KEY enabled.
    1. It is totally dpeend upon business requirement which table you want to  make remote enable.
        The main reason to use remote key is to syndiacte the data to remote system specific.
         So if you are syndication your subtables to then it is good to make remote key enable.
    2. Only tables are remote key enabled not the fields.
    Lets say I have loaded data into my repository from 3 different remote systems(R1,R2,R3) using remote key feature.
    Now, I want to see all the records that belong to R1 only or R2 only?
    Can this be seen using remote mapping feature? or how can I see only specific records for one remote system.... should i create another field that identifies the source and just map it? ....... generally how do we handle this?
    This is not possible as standard way.
    But workaround is when you map the source field to remote key at destination side in import manager,just make the clone of source field and map it to the new fields to  store  the system from where the records came.
    So in data manager you can search on this field  to see only  records that is specific to some remote system.
    Also, have uploaded the data for my lookup table DIVISIONS,when i try syndicating it for remote R1......
    in my destination preview i can see some records that belong to only R2 and R3 also. I mean I am not able to see only the
    records belong to R1 system.
    I mapped
    division <-> div
    desc <-> desc
    there are two more keys like remote key, v...... Should I also map these keys?
    Yes you have to map these fields as well.
    Even after mapping this  option if you want to syndicate all the remote system records then there is option "override remote keys".after enabling this option  there is record generated for each remote system.
    hope it helps you.
    Thanks,
    Sudhanshu

  • How can I stop iTunes from using my multimedia keys on my keyboard?

    I use the multimedia keys on my keyboard for WinAmp, which is my primary music player.  When iTunes is open it hijacks every one of them.  WinAmp has options to enable and disable the use of global hotkeys and multimedia keys.  iTunes does not seem to.  Is there really no way to get iTunes to stop taking control of my keys?  I am using Windows 7 Home Premium 64 bit, for the record.

    Yep.  Don't manually manage.

  • Multimedia keys are non-functional

    I'm currently experiencing a problem with the multimedia keys on the Apple Pro (white) keyboard. The expose keys work; however the brightness, volume up, volume down, mute, and eject keys will not. The said keys will work for a few seconds as OS X is loading up and mounting the drives, but they stop working once the drives are mounted. Right now, I'm using the menu bar eject button. When I click the "Keyboard/Mouse" preferences in the System Settings, I get a perpetual spinning beach ball and I'm forced to restart the computer using the power button. I've tried all of the following without any success:
    * replaced existing Apple Pro Keyboard with another of the same
    * CommandOption+OR
    * CommandOption+PR
    * plugged keyboard & mouse into different USB ports
    I've had this computer 4+ years and this is a first. I would greatly appreciate any additional suggestions.
    Thanks.

    Hi Nick, and a warm welcome to the forums!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it finishes.
    The usual reason why updates fail or mess things up, or things don't load/run, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
    Some people get away without Repairing Permissions for years, some for only days.
    If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
    If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates again, or even do an A&I if you have enough free disk space.
    The combo update for PowerPC-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateppc.html
    The combo update for Intel-based Macs...
    http://www.apple.com/support/downloads/macosx10411comboupdateintel.html
    Repair Permissions after re-install, then reboot again.
    If all the above do not resolve the problem, then it's time for an Archive & Install, which gives you a new OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space...
    http://docs.info.apple.com/article.html?artnum=107120

  • How do I make my multimedia keys work with iTunes?

    I just bought a new Dell XPS L502X laptop and i realize that the multimedia keys only work with iTunes when the window is open. I was wondering if it would be possible to use these commands even when the window is not open.

    You are correct in some of your assertions, Limnos but, if I were to follow Apple's wishes, I would have to purchase the latest and greatest Apple product every month!  I refuse to do that.  I understand that my G4 is old but, it does what I need it to do.  To answer your question though, I purchased the iPod classic as a refurbished unit, about 5 years ago and had it replaced three times, since then so, there is no way for me to know how old it is.
    From my knowledge of how the Classics work(which is extensive.)  It is basically a hard disk.  There should be of performing a low level format, plug it back in and the G4 should recognize the ROm and automatically search for the correct software associated with that version of iPod and load it but, Apple will most likely no longer carry the software on their servers anymore!(surprise,surprise.)

  • Apple wireless keyboard multimedia key not working well??

    it's strange, i cannot use the multimedia key at all with a mini, no matter with fn combination or not. i cannot activate playbacak function on f7 to f9. even change speaker volume with f11 n f12 key.
    i have check system preference with the fn key assistant on or off... i believe at least the volume function should work, right?
    anyone have idea/ experience on this?

    update the os would do

  • N95 8gb V20.0.0.16 Multimedia Key not working

    Hi, I think I found a bug!
    make sure the phone is in portrait mode:
    1. press the multimedia key
    2. press it again to exit
    3. Turn the phone to bring it to landscape mode (make sure auto rotate is enabled)
    4. press the multimedia key
    For me the menu does not start. When I switch it back to portrait, the menu still doesn't launch, so I have to restart my phone to get it working again.
    Can anyone verify this?

    Just now i read that post. But that guy(wintomato) post that on 15th of march. So it was not about v20. Because v20 just released few days before. When I used v15 nothing happened like that. Maybe it's depened on particular theme or devices. Like my camera has 2 green spot after v11. But very few pepole has these prob. Good luck
    N8,N97,N96,N86,N95 8GB,N85,5800,N79,N918GB,N82, N81, N93, N80, N73ME, N70, 6680, 6600,5320,5130,7610,7650,,SIE SX1...................

  • N70 Multimedia Key

    Hi everyone
    i used to set the program MSDICT Viewer for my N70 Multimedia Key, before i upgrade the phone's firmware from v 3.*** (i don't remember! ) to 5.0638.3.0.1. but now i can't set it up any more! MSDICT viewr is not available in the program list of Multimedia Key. surprisingly it is available for other keys as i go to tools\settings\phone\standby mode. what is the problem with the multimedia key? why it doesn't show all the programs installed in the phone?
    i reinstalled MSDICT but again it didn't work.
    any suggestions appreciated.
    thanks.
    Ali

    but nj7_, what do you mean "the Rules have been changed"? it is supposed to work with all programs. you know, one of the greatest advantages to such functional key is to execute any program while you are working somewhere else. what a pity! it was really really useful before.

  • N70 - Multimedia Key - Fault?

    Hi All,
    I have set the Notes application to the Multimedia Key, which worked for a while, but then stopped.
    This is my second N70 due to o2 blocking my first for some reason only known to themselves. The Multimedia Key on the first didn't work at all - until I was preparing to return it, and I uninstalled all the apps and everything from the Gallery - when I deleted the gallery items, something about an active key flashed up - I didn't really take notice as I was sending it back, but after that happened, the Multimedia Key worked.
    I've tried looking in the Active Keys in the Menu, but it crashes the phone.
    Just wondering whether anyone can help me with this?
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

    Again O2 are quite good in this respect, my SIM seems to have the ability to add an icon to the any(?) unlocked phones menu system. The icon is just called "O2" If you select this, a warning pops up "allow SIM card to send a message" If you select 'yes', hey presto all your settings are set to you via ~3 SMS messages that self install the settings you mention onto most modern phones.
    So you get all your settings back in ~5 min worked a treat.
    I'm not sure if it is just new SIMs that have this ability?
    as I got an upgraded O2 '3G ready' SIM recently.
    Otherwise you could use this 'operator settings' service provided by Nokia themselves...
    http://www.nokia.co.uk/nokia/0,,41887,00.html
    Owen
    N82 v30.0.019 O2 Online 200 contract

  • N79 - Multimedia key doesnt work

    hi guys
    after a software update my multimedia key only brings up a blank screen for 2 seconds, and then fades out.
    help?
    thanks
    Solved!
    Go to Solution.

    Possible corrupt data /apps on memory card . Copy off data .
    Format the memory card ,
    *#7370#  for hard reset the phone
     jje

Maybe you are looking for