You are not logged in.

#1 2008-12-02 07:54:11

sidc
Member
Registered: 2008-06-19
Posts: 76

Microsoft Ergonomic keyboard 4000 zoom function [SOLVED]

I am trying to get the zoom button to work on this keyboard, but xev does not detect the key. It is probably due to the fact that  Xorg accepts keycodes only from 0 - 255. But, what is strange is that showkey -k gives a keycode of 418, whereas showkey -s does not detect anything. Doesn't showkey -s indicate whether the kernel detects the key or not? If that doesn't work, why does showkey -k give a keycode? How do I get this to work if showkey -k is the only indication of the key?

Last edited by sidc (2008-12-20 17:56:40)

Offline

#2 2008-12-15 05:42:50

Navi
Member
Registered: 2008-02-07
Posts: 10

Re: Microsoft Ergonomic keyboard 4000 zoom function [SOLVED]

Are we talking the zoom slider? The scancodes for that should be 0x1a2 and 0x1a3.  No idea how you're getting a keycode, but not a scancode.

Offline

#3 2008-12-15 12:08:19

sidc
Member
Registered: 2008-06-19
Posts: 76

Re: Microsoft Ergonomic keyboard 4000 zoom function [SOLVED]

Yea, its very weird. Any idea about how to convert that scancode into a keycode below 255? That is a usb scancode and I haven't seen any method to map those scancodes to keycodes.

Offline

#4 2008-12-19 06:45:35

Navi
Member
Registered: 2008-02-07
Posts: 10

Re: Microsoft Ergonomic keyboard 4000 zoom function [SOLVED]

Does setkeycodes work with USB scancodes?

If not, I know keytouch does.  Use the keytouch-editor to bind everything.

Last edited by Navi (2008-12-19 16:01:17)

Offline

#5 2008-12-20 17:56:19

sidc
Member
Registered: 2008-06-19
Posts: 76

Re: Microsoft Ergonomic keyboard 4000 zoom function [SOLVED]

Thanks. keytouch detects the keys. Weird that xev does not detect it though.

Offline

#6 2008-12-21 07:50:48

Navi
Member
Registered: 2008-02-07
Posts: 10

Re: Microsoft Ergonomic keyboard 4000 zoom function [SOLVED]

S'no problem. I ordered one online for myself the other day, so I am glad to see it works smile

Offline

Board footer

Powered by FluxBB