JB3DG
Resource contributor
- Messages
- 1,325
- Country

Well i now have everything working for the key event system except this:
if i do this:
it works fine and i pick it up in the breakpoints during debug. However sending them using the left/right click I dont get a reaction. Can someone help here? im dealing with a 3 position switch hence the need for the 2 key events.
Code:
<MouseRect>
<Cursor>Hand</Cursor>
<MouseFlags>LeftSingle+RightSingle</MouseFlags>
<CallbackCode>
(M:Event) 'RightSingle' scmi 0 == if{ (>K:0x00011000) }
(M:Event) 'LeftSingle' scmi 0 == if{ (>K:0x00011001) }
</CallbackCode>
</MouseRect>
if i do this:
Code:
<MouseRect>
<Cursor>Hand</Cursor>
<MouseFlags>LeftSingle</MouseFlags>
<EventID>0x11002</EventID>
</MouseRect>
it works fine and i pick it up in the breakpoints during debug. However sending them using the left/right click I dont get a reaction. Can someone help here? im dealing with a 3 position switch hence the need for the 2 key events.



