Mouse control question and feature request

User avatar
Xcessity
Site Admin
Posts: 284
Joined: Sat May 16, 2015 2:23 pm
Location: Graz
Contact:

Re: Mouse control question and feature request

Post by Xcessity »

Hello @ican1v5,

thank you for the extensive feedback. Your suggestions make a lot of sense and I will consider them. I cannot promise that all of them will make it in the new version I am building.

Best,
M
Mystre
Posts: 8
Joined: Sat Aug 12, 2023 7:27 pm

Re: Mouse control question and feature request

Post by Mystre »

I need a double press on the space bar to activate and deactivate flying while in creative mode in Minecraft. Thinking this could be a Macro.
Mystre
Posts: 8
Joined: Sat Aug 12, 2023 7:27 pm

Re: Mouse control question and feature request

Post by Mystre »

Looking at these two Macros for inspiration. I can generally figure this stuff out....eventually.

<MACRO id="ToggleWKey">
<MAIN>
<CONDITION>
<VARIABLECONDITION id="W_KEY_DOWN" condition="NOT_EQUAL" value="1"/>
<KEYINPUT behaviour="PRESS" code="0x57"/>
<VARIABLE id="W_KEY_DOWN" function="SET" value="1"/>
<REFERENCE behaviour="STOP" idref="ToggleWKey"/>
</CONDITION>

<KEYINPUT behaviour="RELEASE" code="0x57"/>
<VARIABLE id="W_KEY_DOWN" function="SET" value="0"/>
</MAIN>
</MACRO>

and


<MACRO id="DoubleClick">
<MAIN>
<MOUSEBUTTONINPUT button="LEFT" behaviour="PRESS"/>
<MOUSEBUTTONINPUT button="LEFT" behaviour="RELEASE"/>
<WAIT time="100ms"/>
<MOUSEBUTTONINPUT button="LEFT" behaviour="PRESS"/>
<MOUSEBUTTONINPUT button="LEFT" behaviour="RELEASE"/>
</MAIN>
</MACRO>
Mystre
Posts: 8
Joined: Sat Aug 12, 2023 7:27 pm

Re: Mouse control question and feature request

Post by Mystre »

Would it be something like this?

<MACRO id="DoubleClickSpaceBar">
<MAIN>
<KEYINPUT behaviour="PRESS" code="0x20"/>
<KEYINPUT behaviour="RELEASE" code="0x20"/>
<WAIT time="100ms"/>
<KEYINPUT behaviour="PRESS" code="0x20"/>
<KEYINPUT behaviour="RELEASE" code="0x20"/>
</MAIN>
</MACRO>

Can I just insert it into the macro text?
Mystre
Posts: 8
Joined: Sat Aug 12, 2023 7:27 pm

Re: Mouse control question and feature request

Post by Mystre »

After playing around a little bit here is the macro that consistently enables and disables flying in Minecraft: Education Edition's creative mode.

<MACRO id="DoubleClickSpaceBar">
<MAIN>
<KEYINPUT behaviour="PRESS" code="0x20"/>
<WAIT time="30ms"/>
<KEYINPUT behaviour="RELEASE" code="0x20"/>
<WAIT time="30ms"/>
<KEYINPUT behaviour="PRESS" code="0x20"/>
<WAIT time="3000ms"/>
<KEYINPUT behaviour="RELEASE" code="0x20"/>
</MAIN>
</MACRO>
interactivechess
Posts: 1
Joined: Fri Sep 08, 2023 1:59 am

Re: Mouse control question and feature request

Post by interactivechess »

I completely rely on iris to move my mouse cursor.

After the new version of iris comes out, will the old version still work?

If so, I'll keep running the old version.
Post Reply