XIM Community

I know how easy detect XIM. Please fix it!  (Read 1691 times)

Offline ukion

  • Member
  • *
  • Posts: 5
    • View Profile
I know how easy detect XIM. Please fix it!
« on: 11:51 PM - 10/19/19 »
Sorry for my bad English.

Hey. I am a programmer and found an easy way to detect XIM. This is due to the WASD buttons.
Yes, I know about SAB, this method is different. Please read text.

When the player presses the “W” button, and then the “D” button, then using the SAB the analog movement behavior is emulated. It's good.
But! The rotation degree will be exactly 0, 45, 90, 135, 180, 225, 270, 315, 360.
That is, the gamer presses W and then D. SAB emulates the rotation by adding degrees. But in the end, the degree of rotation will be exactly 90 degrees.

Now see how to detect XIM:

1) We record all degrees of rotation that DO NOT CHANGE within 2 seconds.
2) We record them throughout the round
3) At the end of the round we check. If these degrees are always 0, 45, 90, 135, 180, 225, 270, 315, 360, then this is XIM.

A user with a gamepad won't have such accurate degrees throughout the round.

Solution:
You need to add a random number. The user presses W, and then D. The rotation should not be from 0 degrees to 90, but, for example, from 0 to 87 or to 93. Add or subtract a random number.
Same thing if buttons are pressed together (W + D)
Not from 0 to 45, but from to 43, for example.
« Last Edit: 12:02 AM - 10/20/19 by ukion »

Online antithesis

  • MVP
  • *
  • Posts: 9148
    • View Profile
    • Mod Squad
Re: I know how easy detect XIM. Please fix it!
« Reply #1 on: 03:31 AM - 10/20/19 »
SAB already takes this into account, as well as several other possible detection methods. XIM does not output in such easily detectable stick positions - it varies within a range of values, as described.

SAB output is pretty much indistinguishable from analog stick output and gets stronger as SAB values increase. You have nothing to worry about - if a game can detect a XIM with SAB activated, it'll also toss false positives for controllers.

Official Australian distributor for XIM APEX, Titan One & Titan Two at Mod Squad
XIM APEX demos on Twitch and YouTube. Follow Twitter for live stream alerts

Offline ukion

  • Member
  • *
  • Posts: 5
    • View Profile
Re: I know how easy detect XIM. Please fix it!
« Reply #2 on: 05:08 AM - 10/20/19 »
Thanks for answer  :)

Offline OBsIV

  • Administrator
  • MVP
  • *
  • Posts: 36779
  • It's obsessive.
    • View Profile
    • OBsIV's Blog
Re: I know how easy detect XIM. Please fix it!
« Reply #3 on: 10:39 AM - 10/20/19 »
But in the end, the degree of rotation will be exactly 90 degrees.

As antithesis says, this never happens with SAB. We use a lot of randomness, of course, but in a way as to not affect gameplay.
Get the most out of your XIM APEX, read the XIM APEX Support FAQ.