-----Ursprüngliche Nachricht-----
Von: Weber, Christian(1)
Gesendet: Montag, 20. Januar 2014 18:11
An: 'Miguel Nunes'
Betreff: AW: [mitk-users] Statemachine and interaction with multiple mouse
buttons
Hi Miguel,
the ButtonState attribute describes which buttons are pressed, which I think is
what you want. So you can define an event in the event config that has this for
a MouseMove event by simply listing both buttons (separated by comma) in the
ButtonState field like this:
<event_variant class="MouseMoveEvent" name="BothButtonsPressedAndMove">
<attribute name="ButtonState" value="LeftMouseButton,RightMouseButton"/>
</event_variant>
Hope this helps!
Best,
Christian
/ Config Documentation
http://docs.mitk.org/nightly-qt4/Step10Page.html#ConfigFileDescriptionSection
-----Ursprüngliche Nachricht-----
Von: Miguel Nunes [mailto:[email protected]]
Gesendet: Montag, 20. Januar 2014 17:29
An: [email protected]
Betreff: [mitk-users] Statemachine and interaction with multiple mouse buttons
Hello list,
I am wondering how I should set up the statemachine.xml and
statemachineConfig.xml files in order to have a function called when I have
both right and left button pressed + mouse moving around.
I looked around but found no satisfactory answers.
I manage to perform interactions with only one button + move. I think from one
state (ex: when right button clicked) it should be able to check if the other
is also clicked/pressed and change to the corresponding state.
Thanks in advance!
Best,
Miguel
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical
Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users