hello,
I am working on a project using [cursor] and gem (pdextended 0.42.5)
my problem, is that when the gemwin is fullscreen (or is created) I lost the contact with
I there a way to change the focus out of the gemwin when it is fullscreen? (I get [cursor] back when clicking on another windows, but on fullscreen it is not possible)
or maybe is there another object working on windows (and gem) to collect the mousewheel data?
thank you
*stéfan*
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-10-19 19:16, stéfan piat wrote:
or maybe is there another object working on windows (and gem) to collect the mousewheel data?
[gemmouse]?
fmasdr IOhannes
Le 19/10/2011 20:45, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-10-19 19:16, stéfan piat wrote:
or maybe is there another object working on windows (and gem) to collect the mousewheel data?
[gemmouse]?
i think gemmouse does not output mousewheel. (only XY position and right / left / middle click)
c
fmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6fGsIACgkQkX2Xpv6ydvSEYQCgmXUizvwKBOxzXGRUQsKwJpk1 RggAn0nym2K91EG70AA5NGqcrL42Q71O =jmFy -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
yes, [gemmouse] does not output mousewheel (i think too)
[hid] does it but it's not cross-platform....
2011/10/19 cyrille henry ch@chnry.net
Le 19/10/2011 20:45, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2011-10-19 19:16, stéfan piat wrote:
or maybe is there another object working on windows (and gem) to collect the mousewheel data?
[gemmouse]?
i think gemmouse does not output mousewheel. (only XY position and right / left / middle click)
c
fmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6fGsIACgkQkX2Xpv**6ydvSEYQCgmXUizvwKBOxzXGRUQsKw**Jpk1 RggAn0nym2K91EG70AA5NGqcrL42Q7**1O =jmFy -----END PGP SIGNATURE-----
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
is there a way to change the window in focus from puredata ?
2011/10/19 stéfan piat stefanpiat@gmail.com
yes, [gemmouse] does not output mousewheel (i think too)
[hid] does it but it's not cross-platform....
2011/10/19 cyrille henry ch@chnry.net
Le 19/10/2011 20:45, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2011-10-19 19:16, stéfan piat wrote:
or maybe is there another object working on windows (and gem) to collect the mousewheel data?
[gemmouse]?
i think gemmouse does not output mousewheel. (only XY position and right / left / middle click)
c
fmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6fGsIACgkQkX2Xpv**6ydvSEYQCgmXUizvwKBOxzXGRUQsKw**Jpk1 RggAn0nym2K91EG70AA5NGqcrL42Q7**1O =jmFy -----END PGP SIGNATURE-----
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
2011/10/20 stéfan piat stefanpiat@gmail.com
is there a way to change the window in focus from puredata ?
which operatingsystem? On Linux you could use xdotool via [shell] ( http://www.semicomplete.com/projects/xdotool/ ) I think however that as soon as you click the mouse in the Gemwin, it will steal back the focus. If _only_ the mousewheel is used, it may work, not sure, you'll have to try. I also vaguely remember an external called "wmangler", which had something to do with handling window positioning etc..., though I don't know if it would allow you to do exactly what you need, or where you can find it these days... gr, Tim
2011/10/19 stéfan piat stefanpiat@gmail.com
yes, [gemmouse] does not output mousewheel (i think too)
[hid] does it but it's not cross-platform....
2011/10/19 cyrille henry ch@chnry.net
Le 19/10/2011 20:45, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2011-10-19 19:16, stéfan piat wrote:
or maybe is there another object working on windows (and gem) to collect the mousewheel data?
[gemmouse]?
i think gemmouse does not output mousewheel. (only XY position and right / left / middle click)
c
fmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6fGsIACgkQkX2Xpv**6ydvSEYQCgmXUizvwKBOxzXGRUQsKw**Jpk1 RggAn0nym2K91EG70AA5NGqcrL42Q7**1O =jmFy -----END PGP SIGNATURE-----
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
the patch has to be cross-platform and "plug-and-play" with pd-extended (0.42.5 actually) so maybe this is a bit too complex to set-up
an easy solution would be a version of [hid] for windows.. maybe there is a beta version somewhere ?
2011/10/20 tim vets timvets@gmail.com
2011/10/20 stéfan piat stefanpiat@gmail.com
is there a way to change the window in focus from puredata ?
which operatingsystem? On Linux you could use xdotool via [shell] ( http://www.semicomplete.com/projects/xdotool/ ) I think however that as soon as you click the mouse in the Gemwin, it will steal back the focus. If _only_ the mousewheel is used, it may work, not sure, you'll have to try. I also vaguely remember an external called "wmangler", which had something to do with handling window positioning etc..., though I don't know if it would allow you to do exactly what you need, or where you can find it these days... gr, Tim
2011/10/19 stéfan piat stefanpiat@gmail.com
yes, [gemmouse] does not output mousewheel (i think too)
[hid] does it but it's not cross-platform....
2011/10/19 cyrille henry ch@chnry.net
Le 19/10/2011 20:45, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2011-10-19 19:16, stéfan piat wrote:
or maybe is there another object working on windows (and gem) to collect the mousewheel data?
[gemmouse]?
i think gemmouse does not output mousewheel. (only XY position and right / left / middle click)
c
fmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6fGsIACgkQkX2Xpv**6ydvSEYQCgmXUizvwKBOxzXGRUQsKw**Jpk1 RggAn0nym2K91EG70AA5NGqcrL42Q7**1O =jmFy -----END PGP SIGNATURE-----
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Is there is a rough alpha in pure-data svn, externals/io/hidio. It
works on GNU/Linux and Mac OS X 32-bit, it just needs someone to get
the Windows code working.
.hc
On Oct 20, 2011, at 10:08 AM, stéfan piat wrote:
the patch has to be cross-platform and "plug-and-play" with pd- extended (0.42.5 actually) so maybe this is a bit too complex to set-up
an easy solution would be a version of [hid] for windows.. maybe
there is a beta version somewhere ?2011/10/20 tim vets timvets@gmail.com
2011/10/20 stéfan piat stefanpiat@gmail.com is there a way to change the window in focus from puredata ?
which operatingsystem? On Linux you could use xdotool via [shell] ( http://www.semicomplete.com/projects/xdotool/ ) I think however that as soon as you click the mouse in the Gemwin,
it will steal back the focus. If _only_ the mousewheel is used, it
may work, not sure, you'll have to try. I also vaguely remember an external called "wmangler", which had
something to do with handling window positioning etc..., though I
don't know if it would allow you to do exactly what you need, or
where you can find it these days... gr, Tim2011/10/19 stéfan piat stefanpiat@gmail.com yes, [gemmouse] does not output mousewheel (i think too)
[hid] does it but it's not cross-platform....
2011/10/19 cyrille henry ch@chnry.net
Le 19/10/2011 20:45, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-10-19 19:16, stéfan piat wrote: or maybe is there another object working on windows (and gem) to
collect the mousewheel data?[gemmouse]? i think gemmouse does not output mousewheel. (only XY position and
right / left / middle click)c
fmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6fGsIACgkQkX2Xpv6ydvSEYQCgmXUizvwKBOxzXGRUQsKwJpk1 RggAn0nym2K91EG70AA5NGqcrL42Q71O =jmFy -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
There is no way to peace, peace is the way. -A.J. Muste
Le 2011-10-20 à 15:27:00, stéfan piat a écrit :
is there a way to change the window in focus from puredata ?
I don't think so.
But it wouldn't be hard to switch the focus in an external using the XSetInputFocus command from libX11.
However, I have never tried it, and I wonder whether it will lock the focus to that window, because the «fullscreen» Gem window uses the override_redirect option (of X11), which tells the window manager to back off and not touch the window.
Anyway, what I implemented to replace most uses of override_redirect in GridFlow ([#out x11]) is a message named «border» that you specify anytime while the window is open, and which toggles the border, using a window manager option standard called MWM Hints.
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
Le 2011-10-20 à 12:56:00, Mathieu Bouchard a écrit :
But it wouldn't be hard to switch the focus in an external using the XSetInputFocus command from libX11.
Sorry, what I said applies only to X11 (Linux and such). Somehow, when I read the problem, it sounded more like X11.
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
ah, I see there is a possibility to collect the mousewheel data with * gridflow*, (to collect the mouswheel on windows is my real problem in fact)
but I never use gridflow, is there a good tutorial (video oriented) to start with gridflow ? or a little trick to use [#mouse] without having to create a window? (= to make an "invisible" window as I already have a gemwin fullscreen)
thanks
2011/10/20 Mathieu Bouchard matju@artengine.ca
Le 2011-10-20 à 12:56:00, Mathieu Bouchard a écrit :
But it wouldn't be hard to switch the focus in an external using the
XSetInputFocus command from libX11.
Sorry, what I said applies only to X11 (Linux and such). Somehow, when I read the problem, it sounded more like X11.
______________________________**______________________________** __________ | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
Le 2011-10-20 à 20:26:00, stéfan piat a écrit :
ah, I see there is a possibility to collect the mousewheel data with gridflow,(to collect the mouswheel on windows is my real problem in fact)
It could depend on which subsystem of GridFlow you use, but all the ones I remember do support the wheel on the platforms I remember testing them on.
In output windows, it means [#out x11], [#out quartz], [#out sdl].
[#out window] in an alias for one of the above three.
There is also [gf/mouse_spy] which gets mouse activity in the patch window that it is put in, and that one doesn't support mousewheel, because it doesn't go very far in circumventing Pd's limitations, so, it doesn't do much more than what Pd externals are allowed to use.
[#mouse] is a filter that can be used to postprocess the 'position' messages output by all of the above, to give easy-to-use info. It provides simple mousewheel info from all the producers of 'position' messages that actually include mousewheel data.
or a little trick to use [#mouse] without having to create a window?
that's what [gf/mouse_spy] does, but doesn't have mousewheel support. It could if Pd were modified to provide info. I could create another big hack in which GridFlow modifies part of Pd at load-time, but it tends to be frowned upon.
to make an "invisible" window as I already have a gemwin fullscreen)
[gf/mouse_spy] can not apply to [gemwin]'s mouse activity (even as invisible window).
GridFlow's query_pointer message can get you the state of the mouse no matter where it is, but it only works in X11, and apparently, mousewheel info is always missing from that, too.
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC