You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coming from Pd, my Gem patches don't work as expected in plugdata since [gemwin] behaves differently and there are no outputs on the outlet (at least i couldn't trigger any).
This is obviously the case because it's not the same abstraction as for Pd and implemented specifically for plugdata? (btw. - i was confused that the abstraction is delivered with plugdata in the Abstractions folder, but it's obviously not used since gemwin is probably covered by the Gem library?)
AFAICT, these are the events that it outputs with Pd:
mouse 0 motion -124 120 - not sure what that 0 is. maybe the window id or mouse id? never saw anything else than 0 there
mouse 0 button 0 1 - the last 2 values are button id and pressed state
keyboard 0 keyname Space 1 - last value is also pressed state here
keyboard 0 key 32 1 - same
window closed - when the window is destroyed (i didn't use this so far)
dimen 500 500 - this is sent on creation and size changes
framebuffersize 500 500 - also sent with the previous message. can differ for high resolution displays (where it might output 1000 1000 for example in this case)
window exposed - this is also sent after resizing the window. no idea what to use this for
in general, i can change my patches for plugdata by grabbing the mouse/keyboard interaction from gemmouse and gemkeyboard. but i currently have no idea how to get the information on the resized window, which i use a lot.
not sure if all outputs are necessary (except for compatibility reasons, of course). maybe it might even be an option to also make gemwin an abstraction in plugdata to implement some of the messages with other Gem objects...
The text was updated successfully, but these errors were encountered:
coming from Pd, my Gem patches don't work as expected in plugdata since [gemwin] behaves differently and there are no outputs on the outlet (at least i couldn't trigger any).
This is obviously the case because it's not the same abstraction as for Pd and implemented specifically for plugdata? (btw. - i was confused that the abstraction is delivered with plugdata in the Abstractions folder, but it's obviously not used since
gemwin
is probably covered by theGem
library?)AFAICT, these are the events that it outputs with Pd:
mouse 0 motion -124 120
- not sure what that 0 is. maybe the window id or mouse id? never saw anything else than 0 theremouse 0 button 0 1
- the last 2 values are button id and pressed statekeyboard 0 keyname Space 1
- last value is also pressed state herekeyboard 0 key 32 1
- samewindow closed
- when the window is destroyed (i didn't use this so far)dimen 500 500
- this is sent on creation and size changesframebuffersize 500 500
- also sent with the previous message. can differ for high resolution displays (where it might output 1000 1000 for example in this case)window exposed
- this is also sent after resizing the window. no idea what to use this forin general, i can change my patches for plugdata by grabbing the mouse/keyboard interaction from
gemmouse
andgemkeyboard
. but i currently have no idea how to get the information on the resized window, which i use a lot.not sure if all outputs are necessary (except for compatibility reasons, of course). maybe it might even be an option to also make gemwin an abstraction in plugdata to implement some of the messages with other Gem objects...
The text was updated successfully, but these errors were encountered: