Okay...thanks for the help.
> Newsgroups: comp.os.linux.x
> Subject: Re: How do I remap keycodes for specific software?
> Date: 17 Jun 2003 14:20:54 GMT
> Lines: 30
> NNTP-Posting-Host: 12-245-221-204.client.attbi.com (22.214.171.124)
> X-Trace: fu-berlin.de 1055859654 21703595 126.96.36.199 (16 )
> User-Agent: slrn/0.9.7.4 (Linux)
> Xref: ursa-nb00s0.nbnet.nb.ca comp.os.linux.x:20591
> MIME-Version: 1.0
> Content-Type: text/plain
> On Tue, 17 Jun 2003 08:21:29 GMT, Andrew P. Billyard staggered into the
> Black Sun and said:
>> When using Maple in GUI mode in X, the Up, Down, Left and Right arrow
>> keys do *nothing*, but the keypad equivalents do, so I simply
>> re-mapped those keys. For example,
>> xmodmap -e "keycode 98 = KP_Up"
>> and this works. Unfortunately, it screws up my wheelmouse (scrolling
>> the wheel up and down will no longer scroll a web page up and down
>> inside a browser (I'm using imwheel)
> So don't use imwheel. It should not be necessary now that X and the
> most frequently-used widget sets (Qt, GTK+, and Mozilla's) all have
> native support for mousewheel events and have had that for years.
> imwheel was, at best, a stopgap solution, and it's time to retire it
> unless you made use of its advanced features.
>> So I wrote a little script which toggles between the two values for
>> the arrows keys. This is fine, but I was wondering if there is a more
>> elegant way to remap these keys *just* for Maple without having to run
>> scripts before and after the program.
> If Maple itself allows you to remap keys, that'd be the easiest way to
> do it. If it doesn't, I think you're stuck.