Quantum Joystick Driver For Pc Windows 10

0 views
Skip to first unread message

Siri

unread,
Aug 5, 2024, 12:59:00 AM8/5/24
to laemalibu
Ihave a USB Joystick, and I want to write my own HID driver for it. Notably I want to inject delay between when the joystick input is received by Windows and when my application is notified of that input event. I would also like to change the identity of the joystick percieved by my application. I have never written a driver, let alone an HID driver, for Windows. Can anyone provide me with advice or pointers on how to go about doing this?

When you press knobs on the Joystick the electric signals reach the operating system (and onto the game) in the form of IRP's through the drivers chain. Intercepting these IRP's at some point and delaying the forwarding to the next driver can delay the joystick input. This can be achieved with driver filters.


The entrypoint of a windows driver is the DriverEntry function. In this function you will be hooking what IRP's you want to intercept and the callback functions that deal with them, in our case, the callback functions that delay the forwarding.


To delay the forwarding inside CallbackDelayForwarding, you must use functions from the KeInitializeTimer family to simulate some sort of sleep (maybe in conjunction with locks), KeDelayExecutionThread etc.


You might want to use Autohotkey. This is a script language for windows which can remap every keys of mouse/keyboard/joysticks. If you capture the key through a script and insert a delay before sending the right key/macro to the active application, you might have a part of a solution to your problem.


Then when your program closes or you no longer want joyReleaseCapture(JOYSTICKID1) etc.

it could just be empty params which then tell you to use joyGetPos or joyGetPosEx functionsto find the data for yourself from the USB device.


Hi, I got a new Dell XPS 15 9520 (12th gen i9) few months ago. When I connect a Thunderbolt audio Interface, nothing happens, like if the port was dead. I've look in device manager and I cannot find any Thunderbolt Controller. No Thunderbolt services was running and even Intel Driver and Support Assistant cannot find any Thunderbolt controller on my laptop. I've opened a ticket with Dell. They change the motherboard, change the controller, nothing is working. After some search about this issue, I find other people with similar issue with other brand laptop (hp, Asus, Lenovo) but always with a 12th gen Intel. I made a clean install with windows 10 and the Thunderbolt controller show up immediately (model 463e). Everything works fine on windows 10. Finally, I start an update to windows 11, build 22623.730 and my thunderbolt is gone again. On intel and Dell website, both report that there's no additional driver for thunderbolt with a 12th gen CPU and windows 11. Someone else are aware of this issue?


I have had the motherboard replaced, tried a handful of drivers (Windows 10 drivers from Lenovo, Intel NUC driver package, www.catalog.update.microsoft.com) all of varying version numbers and via various methods (running the exe package, manual install via device manager). I just finished performing a factory restore from a USB Lenovo sent me, and am checking Device Manager before every update. Haven't been able to get the Thunderbolt controller to show up in Device Manager.


Okay, so my issue turned out to be a bit different after all... It appeared to be due to driver miss-match. Here is the solution for my specific problem-- _id/5870/kw/Core%20X%20Chroma

By showing hidden devices under Device Manager when disconnected from the internet, I was able to find the hidden device and remove the driver causing the issue.


@Projectik A couple of my machines transferred data at usb 2 speeds. There were no new drivers. I checked the BIOS and added support for thunderbolt. I now get usb 3 speed. The Thinkpad said I didn't need to add thunderbolt support unless I was using linux or win10 pre 17????? Thanks Microsoft, I can always depend on you to f... things up.


Same here with the 2022 Asus ROG M16. Sad to see that the thunderbolt port just doesn't work with the 12th gen intel CPU yet these companies can continue to advertise a thunderbolt 4 port when it's inoperable. I would hope we can at least see some acknowledgement form Intel/Microsoft/etc.


@MasonLi2022 you're enclose is USB 3.1 compatible so yes it work in USB mode (10mbs/sec) Plug your enclosure on the right port and it will also work (I've made the test with a dell TB4 dock) There's no issue with USB 4 protocol on the port. If you connect a TB only device like an audio interface, nothing happen.


@Projectik I have opened a case with MS for a very similar issue with the Intel 12 gen Windows 11 USB4 issue. I have a Dell Vostro 7620. I purchased a Sandisk extreme pro external SSD. The external SSD device has advertised transfer speed support up to 2000 mbs, However, when connected by the USB 4 (thunderbolt 4) it only transfers at a capped 1096 mbs on crystalmark speed tests, and around 600 mbs ish realtime. When I looked in devices it appears to be recongnised as a USB3.0 device (not USB 3.2 2x2). The same issue happens on a windows 10 windows to go install with it speeds capped at 1096 mbs. But, this is the thing - The Windows 10 Thunderbolt driver runs 10 - 20% quicker 700+ mbs. This means the USB4 implementation on Windows 11 is A: not as quick as using the thunderbolt driver on Windows 10 and B: windows OS 10 & 11 doesn't run the SSD with the supported USB 3.2 2X2 functionality. I know this is not strictly a Thunderbolt issue. but the fact the thunderbolt drivers on Windows 10 run more efficently than the Win 11 USB 4 implementation is worth noting.


@Kowleone Lenovo finally got around to telling me that I needed to upgrade firmware. I did that and it solved the problem. I still think that it's a pretty sorry state of affairs when MS breaks hardware simply by updating their OS, and doesn't bother to say anything about it. :(


@johnt69 I Totaly agree ! It appears that MS roll out changes on there OS without any decent change control or quality assurance testing nowadays. If they use TB drivers on Windows 10 and the TB drivers works more efiifenty than the new MS USB4 implementation then there is something wrong with there planning and implementation process. I'm glad you managed to sort your issue out in the end though.


Hi Mason, On the official Dell specs PDF for the Dell Vosto 7620 it states that the Thunderbolt 4 port supports up to 40 GB transfter speed and is backwards compatible with USB 3.2, 2.0 and Thunderbolt 3:



4. Thunderbolt 4.0 port with Power Delivery and DisplayPort

Supports USB4, DisplayPort 1.4, Thunderbolt 4 and also enables you to connect to an external display using a display adapter.

Provides data transfer rates of up to 40 Gbps for USB4 and Thunderbolt 4.



If the above is true from Dell official specifications I would expect the the external SSD to run in USB 3.2 2x2 on the USB4 implentation on Windows 11. However, Dell won't support 3rd party products. MS will blame Dell, and Sandisk will blame Microsoft. I'll see what they say on the case I have opened. Hopefully it's just an OS bug that will be resolved in the future.



Also if you are correct, which you probably are (and I appreciate your input and the reply), If the thunderbolt 4 conncector I have only supports 3.2 gen 2, then SSD only runs at about 2000 mbs max which is less than a quater of the (10 gbps) supported by 3.2 gen 2.


Quantum Break is a third-person science fiction action shooter developed by Remedy Entertainment and released worldwide on April 5, 2016 for the Xbox One and Windows 10 platforms. It was published and funded by Microsoft Studios, who owns the IP. Written by Tyler Burton Smith, Mikko Rautalahti and directed by Sam Lake and Mikael Kasurinen, Quantum Break follows the story of Jack Joyce, a resident of the fictional town of Riverport, Massachusetts, who, after a time travel experiment goes wrong, gains the ability to control time and must stop a growing fracture in time from bringing about the end of the world.


Announced in May 2013, Quantum Break was advertised as an "entertainment experience" that combined live action scripted television and traditional third person gameplay. Using gameplay mechanics traditionally associated with interactive stories, certain elements of the plot can be changed based on the decisions players make during "Junction Impacts" and are reflected in the both the game and the television series. Quantum Break received generally positive reviews for its story and gameplay and heavy criticism for its Windows 10 port on account of technical issues.


September 29, 2016 saw the release of Quantum Break: Timeless Collector's Edition, a physical retail version of the game for Microsoft Windows and PCs (handled by THQ Nordic) that did not use Windows 10, that was also made available for Valve Corporation's Steam client.


Jack Joyce returns home to Riverport after a six year absence, at the request of his childhood friend, Paul Serene, after Paul asks for help regarding a "life changing" project. While uncertain of what helping Paul means, Jack returns and heads for Riverport University's Meyer Physics Research Center where he reunites with his friend.


Making their way to the Project Promenade lab, Paul reveals little by little what his project is until Jack eventually deduces that Paul's team built a time machine. Paul explains that he wanted Jack to help him activate the machine and prove its functionality to prove William Joyce, Jack's brother, wrong. Prior to his contacting Jack, William, saw to it that the financial backers of the project bowed out after he claimed to discover miscalculations within the machine's design.


Jack agrees to help Paul, and witnesses first hand the time machine's power when another Paul Serene emerges from the machine. When the present day Paul prepares to travel through the machine, William appears and demands that Jack shut down the machine. When Jack refuses, William tries in vain to avert disaster himself when the core malfunctions. He fails and the core sends out an explosion of Chronon energy that renders Jack unconscious. When Jack comes to, everything is frozen in suspended animation. He finds William in the same state and manages to free him. When the stutter collapses the lab besieged by Monarch Security, which forces Jack and William to flee while Paul has no choice to use the machine to escape.

3a8082e126
Reply all
Reply to author
Forward
0 new messages