USB HID: Warzone / Modern Warfare : Native Mouse & Keyboard

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

USB HID: Warzone / Modern Warfare : Native Mouse & Keyboard

Postby Scachi » Sat Oct 03, 2020 10:04 pm

USB HID : Warzone / Modern Warfare : Native Mouse & Keyboard

This script is for native Mouse and Keyboard:
The connected Output Port Device will see the mouse/keyboard as mouse/keyboard.

Script Features: Staged Anti Recoil, 7 Weapon Profiles, key toggles

Usage Examples:
  • Input Setup Options:
    • Mouse and Keyboard directly into T2
    • GTuner IV KMG Capture
  • Output Setup Options:
    • T2 Out --> PC
    • T2 Out --> Xim -> Console/PC
    • T2 Out --> Console*
      *Console needs to support keyboard and mouse as input device

Script Features:
7 Weapon Profiles
Staged Anti Recoil
Rapid Fire
Keys for on/off/profile toggles
Keys to load different T2 slots for more quick access to different Weapon Profiles

Script Feedback:
The T2 LED will show:
Purple: Script disabled
Green: Primary Weapon active
Blue: Secondary Weapon active

The T2 segment display will show:
'd.' : Script disabled
'i .' : Primary Weapon active
'ii.' : Secondary Weapon active

Script Setting Notes:
The script uses the T2 in Output Protocol Mode "USB Multi Interface HID".
Configure the script do change it temporary or configure your T2 manually:
Device Configuration_Output Protocol.jpg
Device Configuration_Output Protocol.jpg (28.93 KiB) Viewed 9667 times


Anti Recoil Editing Mode:
Enter/Exit Editing Mode : hold INSERT key >1 sec : Saves settings on Exit
Close Editing Mode : PAUSE key : Doesn't saves settings (but changes values are still used by the script)
Vertical Value Adjust : ARROW Up/Down Keys : Up -, Down +
Horizontal Value Adjust : ARROW Left/Right : Left -, Right +
Time Adjust : Hold DELETE : Time when to apply the second value
Time Vertical Adjust : DELETE + ARROW Up/Down : Up -, Down +
Time Horizontal Adjust : DELETE + ARROW Left/Right : Left -, Right +
2. Value Adjust : Hold END : 2. Value editing
2. Vertical Value Adjust : END + ARROW Up/Down : Up -, Down +
2. Horizontal Value Adjust : END + ARROW Left/Right : Left -, Right +
Faster Adjustment : Hold SHIFT + press Arrows : 10x modificator, can be used for all editings


Game Setting Notes:
Disable "Automatic Weapon Change on Out of Ammo" to minimize the chance for the script weapon slot tracking get out of sync.

... Work in Progress ...
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby pl711 » Thu Nov 05, 2020 11:35 pm

Hi,
thanks for your job!

Works good for me but the switch between the Primary/Secondary only works with the mouseweehl. Not with any key. I try to set it, for example to Key_5/6, but no effect.
User avatar
pl711
Private First Class
Private First Class
 
Posts: 2
Joined: Fri Oct 30, 2020 2:37 pm

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby Scachi » Fri Nov 06, 2020 12:28 am

Thank you for reporting, yes it looks like the direct keys to swap between primary/secondary are not working correctly.

The key assigned to primary is working fine for me. The key assigned to secondary isn't working.
I'll try to fix that asap.

Fixed it. Please redownload the script from the Online Resource. :smile0517:
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby pl711 » Fri Nov 06, 2020 9:45 am

Thanks. :smile0203:
User avatar
pl711
Private First Class
Private First Class
 
Posts: 2
Joined: Fri Oct 30, 2020 2:37 pm

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby NinetyEight » Sat Nov 07, 2020 1:14 pm

Hi Scachi,

first of all: nice work! :smile0517: i was looking for that mousewheel profile switch in the past and also tried to solve it on my own - but failed :-D

May i ask you to implement a way to change the brightness of the status LED. It's too bright for me.

Also i'm struggling to set the second value with the hotkeys.
1. Long press INS
2. Hold END + Arrow up/down
manipulates the first value, not the second. Am is missing something?

Cheers!
User avatar
NinetyEight
Corporal
Corporal
 
Posts: 5
Joined: Sat Nov 07, 2020 1:05 pm

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby Scachi » Sat Nov 07, 2020 5:19 pm

You can change the brightness via the "Device Configuration" in GTuner IV (bottom right).

You are right, the second value changing isn't working.
Ok..fixed that. Please redownload from the Online Resource.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby NinetyEight » Sat Nov 07, 2020 6:23 pm

:smile0517:

the LED brightness in "device config" works for all the indicators except the "disabled" (pink) one. this one is very sensitive when moving the brightness slider. the brightness is at 100% before reaching the first tickmark on the brightness slider (sry i m no native speeker, dont know the name of it.).
maybe theres a factor missing, it might go 10x faster than it should or something like that.
User avatar
NinetyEight
Corporal
Corporal
 
Posts: 5
Joined: Sat Nov 07, 2020 1:05 pm

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby Skeletor42 » Tue Nov 10, 2020 3:53 pm

This is great! I am hoping to adjust this script to work in Apex legends, as I have been running into trouble creating my own staged anti-recoil for that game. Is there any chance that you will be posting or could PM the base code?
User avatar
Skeletor42
Corporal
Corporal
 
Posts: 4
Joined: Tue Nov 10, 2020 3:51 pm

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby Scachi » Tue Nov 10, 2020 9:24 pm

Skeletor42 wrote:This is great! I am hoping to adjust this script to work in Apex legends, as I have been running into trouble creating my own staged anti-recoil for that game. Is there any chance that you will be posting or could PM the base code?

My script "USB-HID Antirecoil" is available as source in the Online Resource, it has staged anti recoil.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: USB HID: Warzone / Modern Warfare : Native Mouse & Keybo

Postby Skeletor42 » Thu Nov 12, 2020 8:54 pm

Scachi wrote:
Skeletor42 wrote:This is great! I am hoping to adjust this script to work in Apex legends, as I have been running into trouble creating my own staged anti-recoil for that game. Is there any chance that you will be posting or could PM the base code?

My script "USB-HID Antirecoil" is available as source in the Online Resource, it has staged anti recoil.



Gotcha, I must not understand what staged recoil refers to. I was referring to a change in the amount of recoil applied over time, for example stronger compensation for the first 700ms then weaker compensation for the next 1000ms. So what I am referring to is more antirecoil "decay" I guess. I was able to modify your USB-HID script to have antirecoil decay over time, thanks!
User avatar
Skeletor42
Corporal
Corporal
 
Posts: 4
Joined: Tue Nov 10, 2020 3:51 pm

Next

Return to User's Script Documentation

Who is online

Users browsing this forum: No registered users and 82 guests