meoiswa / MagitekStratagem

Experimental Tobii Eye tracker integration for FFXIV
5 stars 1 forks source link

Not affecting targetting #2

Closed ifeixue closed 13 hours ago

ifeixue commented 2 weeks ago

Definitely seems to be linking to tobii, as the gaze circle is tracking as intended, however does not seem to be affecting tab targetting behaviour at all. Not sure if I'm doing something wrong but it is enabled, both overrides are selected with always override also selected.

Targets are highlighted when gaze circle comes over them, but targetting is not working for both the proximity and raycasted targets.

Currently using Tobii 5.

meoiswa commented 1 week ago

Are you using the keyboard keybind?

    private unsafe bool IsCircleTargetKeyboardInput()
    {
      var inputData = *(UIInputData*)FrameworkStruct.Instance()->UIModule->GetUIInputData();
      // TODO: Find out if we are pressing the cursor left/right keybind.
      return false;
    }

I kind of forgot to implement this, since I always play with gamepad!

ifeixue commented 1 week ago

Are you using the keyboard keybind?

    private unsafe bool IsCircleTargetKeyboardInput()
    {
      var inputData = *(UIInputData*)FrameworkStruct.Instance()->UIModule->GetUIInputData();
      // TODO: Find out if we are pressing the cursor left/right keybind.
      return false;
    }

I kind of forgot to implement this, since I always play with gamepad!

ah, yeah, I am. Any workaround to get it to work?

meoiswa commented 1 week ago

Fix is in the works, along with an experimental feature to fine-tune calibration at application-level. Expect it sometime soon. In the meantime, you can use regular tab target override, always override circle target, or emulate gamepad left/right inputs

On Sat, 8 Jun 2024, 03:39 ifeixue, @.***> wrote:

Are you using the keyboard keybind?

private unsafe bool IsCircleTargetKeyboardInput()
{
  var inputData = *(UIInputData*)FrameworkStruct.Instance()->UIModule->GetUIInputData();
  // TODO: Find out if we are pressing the cursor left/right keybind.
  return false;
}

I kind of forgot to implement this, since I always play with gamepad!

ah, yeah, I am. Any workaround to get it to work?

— Reply to this email directly, view it on GitHub https://github.com/meoiswa/MagitekStratagem/issues/2#issuecomment-2155748336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALK5TQ5K5XW6JUBVSA3UNTZGJOGJAVCNFSM6AAAAABIVXBYB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVG42DQMZTGY . You are receiving this because you commented.Message ID: @.***>

ifeixue commented 1 week ago

Fix is in the works, along with an experimental feature to fine-tune calibration at application-level. Expect it sometime soon. In the meantime, you can use regular tab target override, always override circle target, or emulate gamepad left/right inputs On Sat, 8 Jun 2024, 03:39 ifeixue, @.> wrote: Are you using the keyboard keybind? private unsafe bool IsCircleTargetKeyboardInput() { var inputData = (UIInputData)FrameworkStruct.Instance()->UIModule->GetUIInputData(); // TODO: Find out if we are pressing the cursor left/right keybind. return false; } I kind of forgot to implement this, since I always play with gamepad! ah, yeah, I am. Any workaround to get it to work? — Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALK5TQ5K5XW6JUBVSA3UNTZGJOGJAVCNFSM6AAAAABIVXBYB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVG42DQMZTGY . You are receiving this because you commented.Message ID: @.>

tab target override doesn't seem to be working. i'll wait for the fix, I guess. Thanks!

meoiswa commented 13 hours ago

It should be fixed in v0.4.0.0