Hi,
I found LinEAK the most useful utility to support multimedia keyboards.
Mine is A4Tech KB(s)-26 AntiRSI Office keyboard. You can find a picture
of it at http://www.a4tech.info/products/keyboard/standart/9958/
Key codes follow.
1. Four buttons in the bottom left-hand corner under the scroll wheel
are:
Undo 207
Copy 167
Paste 168
Cut 169
2. The scroll wheel is tricky. It sends KeyPress event when pushed up
(causing continuous scroll in my case), and sends KeyRelease event when
pushed down. The keycode is 171.
3. The six buttons on the left just above the scroll wheel, from top
down are (name, keycode, usage):
Power 222 shutdown
Sleep 223 suspend
Toggle 205 switch between applications
Close 249 close application or current tab
Back 234 back to previous page in Konqueror, previous document
in other apps
Forward 233 forward to next page in Konqueror, next document in
other apps
4. The five buttons in the top left-hand corner are:
New 219 creates new folder
Word 170 starts OpenOffice writer
Excel 132 starts OpenOffice calc
WWW 178 starts Konqueror
E-mail 236 starts Kmail
5. Buttons in the middle at the top are:
5.1 Large multimedia buttons:
Stop 164 Stops play if focused on player window,
otherwise starts Konsole
Play/Pause 162 starts application (e.g. GIMP) if not
focused on player window
Volume Down 174 in other apps, zoom out
Volume Up 176 in other apps, zoom in
Previous Track 144 in Writer, Calc and Konqueror decrease font
size
Next Track 153 increase font size in Office apps
5.2 Small buttons at the top, just below the multimedia buttons are:
My Com. 235 open ~/Documens folder
Calculator 161 starts Kcalc
Calendar 247 opens calendar
LogOff 131 if Power button starts LogOff dialogue, can
be used to launch Quanta
Search 229 web search
Mute 160 if not focused on player window, launch
Kget
6. Five buttons in the top right-hand corner are:
Back 234 back to previous page in Konqueror, previous document in
other apps
Forward 233 forward to next page in Konqueror, next document in
other apps
Stop 232 stop downloading page in Konqueror, if not focused on
Konqueror window, launch addressbook
Refresh 231 refresh the page; if not in Konqueror, perform user
defined action
Favorites 230 open bookmarks in Konqueror; if not in Konqueror, open
user defined folder
7. This keyboard has special "Office" key that changes key codes
generated by function keys, as well as key codes for some other standard
buttons as follows:
F1 = Help 172 context help
F2 = New 173 create new document in office application, open new tab
in Konsole and Konqueror
F3 = Open 165 open document (Ctrl+O)
F4 = Save 175 save current document (Ctrl+S)
F5 = Undo 179
F6 = Redo 180
F7 = Spell 186 spell check the document
F8 = Replace 185
F9 = Reply 187 reply an email
F10 = Reply All 118 reply to all in email
F11 = F'ward 119 forward an email
F12 = Send 120 send an email
The following keys have no special usage but change the key codes in
office mode for some reason:
Insert = Insert 157
Scroll Lock = Scroll Lock 121
Print Screen/Sys Rq = Print Screen/Sys Rq 239
Pause/Break = Back Space 22
I would like to see the suggested function to be coded in as defaults so
that the keyboard would be functional out of the box, in KDE at least,
with minimum or no customization required.
Shall you have any questions, please do not hesitate to contact me.
Kind regards,
Lex
|