You are not logged in.

#1 2013-10-24 01:55:48

EvanPurkhiser
Member
From: San Francisco
Registered: 2010-08-17
Posts: 225
Website

Recognizing XF86* keys in Wine

Hey guys,

I have a Razer Naga mouse that has a numpad on the side of it which is detected as a keyboard. I have a custom keymap that maps these keys as follows

default
partial alphanumeric_keys modifier_keys
xkb_symbols "evan-custom" {
  include "us"

  # Forward and back on numpad 1 and 3
  key <KP1> { [ XF86_Back    ] };
  key <KP3> { [ XF86_Forward ] };
};

I've also recently been playing World of Warcraft using Wine, and would like to map the 1 and 3 numpad buttons on the side of my mouse to something in game. However the game doesn't seem to detect these the XF86 keys.

I was curious if there was a way to make wine recognize these keys, or possible a way to use wine to remap them in the wine environment?

Another thought I had would be to somehow map these keys to mouse buttons 8 and 9 which cause the same generic "forward" "back" behavior. I could do this by mapping the buttons to a `xdotool click {8,9}` command, but would prefer not to have to do it that way.

Any ideas?

Offline

Board footer

Powered by FluxBB