MODERATOR NOTE: This is the notebook used in the livestream “Building a video game with Wolfram notebooks” on Wednesday, May 10 – a part of Wolfram R&D livestream series announced and scheduled here: https://wolfr.am/RDlive. Subscribe to [@WolframRD] (https://wolfr.am/1eatWLcDA) on YouTube for more livestreams, exclusive VODs, creator presentations, behind-the-scenes insider videos, and so much more.
– you have earned Featured Contributor Badge
Your exceptional post has been selected for our editorial column Staff Pickshttp://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!
I saw your talk in the live session, very nice, thank you! You showed how you can use a gamepad to produce input to the Wolfram Language. I wonder whether it also works the other way around: can you use Wolfram Language code to produce vibrations in the gamepad at will at specific moments?
I really appreciate it too. In the case of the Wolfram Language, it doesn’t have built-in functions specifically designed for gamepad haptic feedback. However, it may be possible to utilize external libraries or system calls to achieve this functionality. You can also get some games ideas at cheatcommands. For example, if you are working on a Windows platform, you could potentially use the .NET framework and its APIs to interface with the gamepad and control vibrations.