Hello, I've just started using Emacs for windows on my thinkpad (Lenovo laptop, formerly IBM). I'd like to map the thinkpad "browser forward" and "browser back" keys to useful emacs commands. This actually works for my in Linux (Ubuntu, running under virtual box) - I could identify the keys with xev, map them in my .Xmodmap: keycode 233 = F21 keycode 234 = F22 and then use them in emacs as usual.
I've tried the XKeymacs utility, which when I played with the config GUI, cause emacs to realize the browser button was pressed. But it did not let me map this to a key press (I think), so I'm not sure whether it can do the job. Also not sure how to have it active on all emacs windows and no others. A usage almost the exact opposite of that intended by the author :-) Any suggestion? In particular, how can I tell whether emacs for windows notices a key was pressed (like xev does in linux)? Thanks, Amnon