I use a T16000M (actually two...but that's not important right now)
I want to use this code:
//let's tell TARGET we want a mouse on our HAT
SetShiftButton (&T16000, TS2, 0, 0, 0 ,0 ); // Left TS2= IO toggle...(why all the zero's?)
//lets get ourselves our moving mousecursor on our left stick (T16000)....and at two speeds (H1D of the right stick (T16001) to go fast)
MapKey (&T16000, H1U, AXIS(MOUSE_Y_AXIS, -100, 5));
MapKey (&T16000, H1D, AXIS(MOUSE_Y_AXIS, 100, 5));
MapKey (&T16000, H1L, AXIS(MOUSE_X_AXIS, -100, 5));
MapKey (&T16000, H1R, AXIS(MOUSE_X_AXIS, 100, 5));
MapKey (&T16000, H1U, AXIS(MOUSE_Y_AXIS, -100, 32));
MapKey (&T16000, H1D, AXIS(MOUSE_Y_AXIS, 100, 32));
MapKey (&T16000, H1L, AXIS(MOUSE_X_AXIS, -100, 32));
MapKey (&T16000, H1R, AXIS(MOUSE_X_AXIS, 100, 32));
//hmmm....this one can just be programmed without the 'slowmousecursor=' part, right? Why would I need that, lol..
//5 and 32...the higher...the greater the time interval. and 100 is how many pixels it skips
MapKeyIO (&T16001, H1D, 'z', EXEC("fastmousecursor") );
// launch flare (z in Star Citizen) in layer, or out of layer have a button that let's me have a faster mouse corsor on the other stick POV HAT.
Does this kill the 'slowmousecursor' if I just programmed that plain without any EXEC of stuff like that?
My real problem is.... TARGET seems to let me have 2 mouse cursors!
I can move the mouse cursor with my mouse....but when I move it with my HAT, the cursor get's reset to the middle of the screen, and from there on
-when I use the physical mouse it moves on from where I leave from either the mouse itself or the HAT, but
-when I use the hat's mouse cursor moving abilities, it get's reset from where the HAT mouse coordinates left last.
The physical mouse seems to use both it's own and the TARGET's coordinates, where TARGET only seem to know it's own.
I want to link the coordinates of both the visual mouse and physical mouse. Link their indexes or let them peek at eachothers.
They should share their coordinates. Now it is only done half.
I have no idea how to program it so they 100% share their cursor..
It might even fix the issue so SC doesn't crash when I use mouse code. (the cursor get's locked out of screen the second I touch the HAT, and the starship starts flippin violantly as it tries to follow the cursor)
Edited by SpaceBlaze (Yesterday at 07:49 AM)
When the Space is Blazed
The Space Blaze...