[PD-dev] Keyboard shortcut for Left-click?
Hans-Christoph Steiner
hans at eds.org
Thu Jun 14 17:39:45 CEST 2007
Also, depending on what you want to do, you can send [mouse( and
[mouseup( messages to the canvas.
.hc
On Jun 14, 2007, at 6:00 AM, Frank Barknecht wrote:
> Hallo,
> Frank Barknecht hat gesagt: // Frank Barknecht wrote:
>
>> I actually would like to test this. Does someone know how to set this
>> up (maybe with of some key->mouse translation tools) on X-Windows?
>
> Okay, found that: Just use "xkbset m" to switch on "MouseKeys" mode on
> the keypad. To map for example the left Windows-key to
> "Pointer_Button1"
> you need to find the keycode for it with "xev", then use that with
> xmodmap. For my keyboard the code is "115". Then these two commands
> will make the windows key be mouse button 1:
>
> xmodmap -e "keycode 115 = Pointer_Button1"
> xkbset m
>
> And this will disable it again:
>
> xmodmap -e "keycode 115 = Super_L"
> xkbset -m
>
> Very cool, thanks for listening to my ramblings ...
>
> Ciao
> --
> Frank Barknecht _ ______footils.org_ __goto10.org__
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------
----
If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
idea, which an individual may exclusively possess as long as he keeps
it to himself; but the moment it is divulged, it forces itself into
the possession of everyone, and the receiver cannot dispossess
himself of it. - Thomas Jefferson
More information about the Pd-dev
mailing list