--On Sunday, May 16, 2004 11:16:40 +0100 Thomas Adam
<[EMAIL PROTECTED]> wrote:

>  --- Nicholas Paul Johnson <[EMAIL PROTECTED]> wrote: 
> 
>>      Whenever NumLock is off, and I push 1,2,3,4,6,7,8, or 9 I would
>>      like the mouse cursor to be moved in the coresponding direction.  
>>      If NumLock is off and I push 5, I would like the same behaviour as
>>      if I had pushed the left mouse button.

Do you know about X11 Mouse Keys? It's an accessibility feature for users
that have difficulty using a mouse that sounds similar to what you want
without any need to create bindings, try pressing Shift+Alt+Num_Lock.

> That's possible. Just bind your keypad key's to mouse movements (example
> of this is in  the ~/.fvwm/fvwm2rc file distributed with fvwm

Yes, but not if he uses the IgnoreModifiers command you used below. The
FakeClick command can be used to simulate mouse clicks.

>> 
>> 2. Also, I trigger alt-tab events like this:
>> 
>>      Key Tab A M     Function Cycle
>> 
>> Which works when NumLock is off.  How do I make it also work when
>> NumLock 
>> is on?
> 
> You can only do this if you have:
> 
> IgnoreModifiers L25

No..I Think he wants to use Num-Lock as a modifier, not totally kill it :)

You can just add a binding for when Num-Lock is in use.

Key Tab A M     Blah
Key Tab A M2    Blah

Also, L25 also disables scroll-lock (according to the man page you should
disable as few modifiers as possible).

-- 
-------------------------------------
[EMAIL PROTECTED] | finger me for my gpg key.
-------------------------------------------------------


--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to