Site Login

This Months Donations

$25.60
of $500.00 goal
Server, CDN, Network, Licensing
Development Budget
Developers Beer Fund
Recent:
Jamie
$2.00
Rain
$2.00
Mikhail
$2.00
Gera
$2.00
Emma
$2.00
Number of donations
13
Highest donation
$5.00
Average donation
$2.21

[IM 1.5] Macro help please

2 years 7 months ago - 2 years 7 months ago #11 by Anacra

Wobbles wrote: Its on my radar, but they need to seriously drop that price, way too much for me to spend on a controller i'd likely never pick up again.


Perhaps you can create some HID monitor and we can record the stuff you need, or something? If this is viable, it'd let you support multiple controllers and people can just send you the info?

Please Log in or Create an account to join the conversation.

2 years 7 months ago - 2 years 7 months ago #12 by Wobbles
there are plenty of HID sniffers and packet readers out there, but teaching someone how to decode a list of byte arrays into meaning info for programming purposes is hard to do unless they have their own experience with development and drivers.

These are the notes for the 3D connexion I took, without somebody to translate into something like this its just a bunch of numbers.
// Packet Definition:
        // 1st byte is packet type, 1 = translation, 2 = rotation, 3 = buttons
        // Packet type 1:
        // b[1] = X translation (0-255 | 0 - 255)
        // b[2] = X translation dir and multiplier. (254,255 L|R 0,1)
        // b[3] = Y translation (0-255 | 0 - 255)
        // b[4] = Y translation dir and multiplier. (254,255 F|B 0,1)
        // b[5] = Z translation (0-255 | 0 - 255)
        // b[6] = Z translation dir and multiplier. (254,255 U|D 0,1)
        // Packet type 2:
        // b[1] = X rotation (0-255 | 0 - 255)
        // b[2] = X rotation dir and multiplier. (254,255 L|R 0,1)
        // b[3] = Y rotation (0-255 | 0 - 255)
        // b[4] = Y rotation dir and multiplier. (254,255 F|B 0,1)
        // b[5] = Z rotation (0-255 | 0 - 255)
        // b[6] = Z rotation dir and multiplier. (254,255 U|D 0,1)
        // Packet type 3:
        // b[1] = Buttons, Left >> 1, Right >> 2

The notes for more complex controllers like the DS4 are pages long because they have gyros and frame counters aswell

Please Log in or Create an account to join the conversation.

2 years 7 months ago #13 by Anacra
Guess it's not viable then, lol.
Thanks for replying though. Whenever you get it, it's fine :)

Please Log in or Create an account to join the conversation.

2 years 7 months ago #14 by Dave

wirenut48 wrote: try all the presses, add a wait for release, then all the releases.




You mean like this? I tried and now it presses all the directions at the same time. I need them in a quick sequence. Imagine doing a full circle with a thumbstick very fast.

Is there any way to control the delay between the inputs?
Attachments:

Please Log in or Create an account to join the conversation.

2 years 7 months ago - 2 years 7 months ago #15 by wirenut48
Then you need a wait or pause between each press also, releases shouldn't matter. Wait acts as a separator in this case, a very short pause could also work as then you can control the pause. Maybe like .01, or whatever value that works in the game.

If that configuration above doesn't work, try press-pause-release-wait-press-pause-release-wait... Will depend on if game is looking for press or release, but this second config should work either way.

Asus STRIX X299-E GAMING MB, i7-7820X 3.6/4.5GHz 8-Core, 32GB Corsair Dominator Platinum (CMD16GX4M2B2400C10), NVIDIA TITAN X (Pascal), Samsung 970 Pro 1TB M.2-NVMe w/Western Digital 2TB (WD2000F9YZ), Samsung 65Q9FN QLED, HTC Vive, 850w PS, W10

Please Log in or Create an account to join the conversation.

2 years 7 months ago #16 by Dave
0.01 was too fast.

Tried:
Press R, 0.04, Release R
Press D, 0.04, Release D
Press L, 0.04, Release L
Press U, 0.04, Release U

That kind of worked but it's not consistent. Maybe it just can't work in fighting games. I managed to do it in ZSNES macro tool, if you are familiar with it. In addition to second delays it also has frame delays and that's what I used. Not quite sure what 1 frame is exactly.

After numerous tries I'll add some suggestions to the macro tool in the appropriate forum.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum