USB-HID Anti Recoil (USB Multi Interface HID)

Documentation, usage tips and configuration guides for Titan Two scripts and bytecodes published by the community users.

USB-HID Anti Recoil (USB Multi Interface HID)

Postby Scachi » Sat Aug 25, 2018 10:02 am

Version 1.10, Changes: Fixed a bug with Rapid Fire

For those looking for staged anti recoil and multiple weapon profile please give my new script a try and report back if it still works as good in combination with a xim:
USB HID: Warzone / Modern Warfare : Native Mouse & Keyboard

An Anti Recoil script (rapid fire included) for "USB Multi Interface HID" output protocol.

For direct connection of mouse (+ optional keyboard) into Titan Two or via GTuner IV KMG Capture.
The connected Output Port Device - pc, xim or console - will see the mouse/keyboard as mouse/keyboard.
This script requires the T2 Output Protocol set to 'USB Multi Interface HID' !
Tick "Disable Joystick from Multi Interface HID output" ! in: Gtuner IV -> Device Configuration -> Device Options

Download
Search for USB-HID Antirecoil in Gtuner IV "Online Resource" panel.

Configuration via Interactive Configuration.

Features
  • Anti Recoil : Different values for HIP/ADS/Rapid Fire HIP/-ADS
  • Rapid Fire Modes: 1=on mouse button hold (always runs rapid fire) or 2=on tap + press&hold (single hold will run normal fire then)
  • Selectable key to toggle anti recoil on/off
  • Selectable key to toggle rapid fire on/off
  • Optional rapid fire stated LED and T2 display feedback with Configurable time to limit the feedback shown

Script feature state feedback:
  • LED Color Red:Disabled , Green:Anti Recoil / Cyan:Rapid Fire / Yellow: Both
  • T2 Display 'd.':isabled , 'a.':nti Recoil / 'r.'apid Fire / 'b.':oth
Last edited by Scachi on Wed Oct 07, 2020 8:47 am, edited 14 times in total.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby antithesis » Sat Aug 25, 2018 10:07 pm

Very nice Scachi! I'll have a play with it asap :)
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby Scachi » Sat Aug 25, 2018 10:10 pm

Download the newest version 1.0.2 before doing so, or you won't have much fun.
The old version had some serious issues. The applied anti recoil was way to strong and there were some strange movement behaviour.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby Scachi » Mon Aug 27, 2018 11:50 am

Update 1.0.3:
Another try on fixing some strange movement behavior when the mouse does not report zero when the mouse is not moved at all.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby Scachi » Tue Aug 28, 2018 1:52 pm

Updated to Version 1.0.4 , changes: Next try to fix unwanted mouse movement...endless story
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby antithesis » Tue Aug 28, 2018 2:24 pm

Are you pairing T2 with an Apex? Apex tosses in random stick values when idle for obfuscation reasons.

It doesn't affect movement because it's within the deadzone, but it does stack with things like antirecoil.
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby Scachi » Tue Aug 28, 2018 2:30 pm

I have/own no apex/xim.
Mouse directly into T2, T2 out to PC for playing on pc.
I have some issue with the mouse resting position not set axis values to zero and setting one axis only with mouse set applies also the other axis of the current mouse_reading without me wanting to affect the other axis.. strange thing.. but J2kbr seems not to be able to reproduce this issue.
I am trying to find a way that this script works reliable..I am getting out of ideas, I hope this version fixes the issue.

For me it now seems to work fine, tested with playing Counter Strike source for a few round.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby b00st_g0d » Wed Oct 17, 2018 8:17 am

Did you ever take a look at this and add a <disable all>hotkey? I may have missed that when reading the posts.
User avatar
b00st_g0d
Command Sergeant Major
Command Sergeant Major
 
Posts: 135
Joined: Wed Sep 20, 2017 3:12 am

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby Scachi » Wed Oct 17, 2018 8:38 am

The latest version does work fine and reliable.
A hotkey is not implemented at the moment. On later versions it caused lag to the anti recoil, I have to try again with the current one.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Antirecoil_USB_HID : Anti Recoil for USB Multi Interface

Postby Gjin Yuko » Fri Sep 06, 2019 4:27 am

Hey Scachi, im useing the Gtuner KMG Capture mode could you maybe post an Rapidfire Multi HID Script here?

The script isnt working for me because my mouse is connected to the PC and i have to use this script
Code: Select all
init {
  mousemapping();
}
 
main {
  mouse_passthru();
  key_passthru();
}


to be able to look around could you maybe add rapidfire to this?
YouTube /Gjin Yuko
Facebook /Gjin Yuko
Twitter /Gjin Yuko
Discord /Gjin Yuko
Xbox /Gjin Yuko
Playstation Dont have one, Xbox is the better Console :P
User avatar
Gjin Yuko
Sergeant Major
Sergeant Major
 
Posts: 95
Joined: Mon Aug 05, 2019 10:00 pm
Location: Germany

Next

Return to User's Script Documentation

Who is online

Users browsing this forum: No registered users and 123 guests