Difference between revisions of "Talk:Extra keyboard keys"

From ArchWiki
Jump to: navigation, search
(Keytouch: I don't like being accused unjustly)
(getscancodes: re)
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Since i'm a newbie here, I prefer not to do it on my own. IMHO, the organisation should be revamped... I would rather use a "Console" "X.org" split cause xev is of no use in Console, and showkey seems to also be useless in X. I'd add that in many case acpid can be useful for functions key cause independant of X/Console. The fact that the Fn key is sometimes handled in the hardware and invisible to the kernel could be noted too (I searched like 3 hours to get it, searching for where is the error and unable to find it (cause I'm not used to linux and and still don't master logging in linux, so I never thought that it may just be non-existent...) to learn in a random comment on a  post that the Fn key sometime just throw a different keycode when pushed... But I don't know if it really belong here, and personally i'd also merge this file with both [[Extra Keyboard Keys in Xorg]] and [[Extra Keyboard Keys in Console]], don't know if it's a good idea? I think it's better to not juggle between 32 page cause as a newbie, it's kind of confusing :) Oh, and... should I split my comment in multiple topic instead of one huge? [[User:Blakthorn|Blakthorn]] ([[User talk:Blakthorn|talk]]) 14:53, 29 January 2013 (UTC)
+
== getscancodes ==
  
== Better differentiation needed ==
+
getscancodes is very useful tool for grabbing scancodes.
 +
Quick howto for newbie
 +
* install getscancodes from aur #yaourt -Sya getscancodes
 +
* connect your device and recognize it #dmesg|tail -30
 +
* find the event id of the device (use grep) #cat /proc/bus/input/devices
 +
* run getscancodes #sudo getscancodes /dev/input/event18
  
Yes, I agree.
+
I find that it easy just to use setkeycodes for a quick test # setkeycodes scancode keycode
  
showkey and xev report totally different keycodes for media buttons.  Getting codes for use in X from showkey is pointless.  The article is very misleading. [[User:Dibblethewrecker|dtw]] ([[User talk:Dibblethewrecker|talk]]) 17:42, 7 August 2013 (UTC)
+
I recommend on mapping the scancodes to a keycode with udev, just link to the [[Map_scancodes_to_keycodes|wiki]] or merge the pages.
 +
[[User:Dhead|Dhead]] ([[User talk:Dhead|talk]]) 05:54, 21 October 2013 (UTC)
  
 
+
:There's already a link to [http://keytouch.sourceforge.net/howto_keyboard/node4.html official instructions] in [[Extra_Keyboard_Keys#See_also]], so I'd say it's not necessary to add these to our wiki.
== Keytouch ==
+
:''setkeycodes'' and mapping with udev are described in [[Map_scancodes_to_keycodes]], which is just fine - I don't know what you mean...
 
+
:[[Map_scancodes_to_keycodes]] and [[Extra_Keyboard_Keys]] are properly interlinked, and I'm against the merging at the moment because that would imply other pages should be merged too and the resulting page would be too long and hard to read.
I have added Keytouch to the article, since my original commit at [[Xfce]] page was mercilessy cut down by [[User:Kynikos|Kynikos]], and when I got time to recheck this page, keytouch was not here also. When you will try removing my commits, at least state clear, what you do not like in it. It's frustrating to see my contributions go in vain. ivdok 18:57, 21 August 2013 (UTC)
+
:-- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 13:00, 21 October 2013 (UTC)
:Hi, [[Keytouch]] has even a dedicated article, which is clearly linked from the intro of this very article; I should undo your edit once again, but maybe you can do it by yourself this time :) -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 13:48, 23 August 2013 (UTC)
+
:(For anyone else reading here, see the [https://wiki.archlinux.org/index.php?title=Xfce&diff=269424&oldid=269215 summary] I left when I fixed ivdok's edit and judge by yourself if I stated the reason clearly enough or not) -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 14:14, 23 August 2013 (UTC)
+

Revision as of 13:00, 21 October 2013

getscancodes

getscancodes is very useful tool for grabbing scancodes. Quick howto for newbie

  • install getscancodes from aur #yaourt -Sya getscancodes
  • connect your device and recognize it #dmesg|tail -30
  • find the event id of the device (use grep) #cat /proc/bus/input/devices
  • run getscancodes #sudo getscancodes /dev/input/event18

I find that it easy just to use setkeycodes for a quick test # setkeycodes scancode keycode

I recommend on mapping the scancodes to a keycode with udev, just link to the wiki or merge the pages. Dhead (talk) 05:54, 21 October 2013 (UTC)

There's already a link to official instructions in Extra_Keyboard_Keys#See_also, so I'd say it's not necessary to add these to our wiki.
setkeycodes and mapping with udev are described in Map_scancodes_to_keycodes, which is just fine - I don't know what you mean...
Map_scancodes_to_keycodes and Extra_Keyboard_Keys are properly interlinked, and I'm against the merging at the moment because that would imply other pages should be merged too and the resulting page would be too long and hard to read.
-- Lahwaacz (talk) 13:00, 21 October 2013 (UTC)