Search found 19 matches

by Simon Belmont
29 Mar 2023, 03:12
Forum: Gaming Scripts (v1)
Topic: Customizable Gamepad Scripts
Replies: 4
Views: 1540

Re: Gamepad Script, Four Versions

For anyone who just wants to 'dip a toe' into one of these gamepad scripts, here's a 'no-mode' version of Script 1 that I configured for DOOM, DOOM II & Final DOOM (the default, un-modded [GOG] versions of each game). I use a Logitech F510 controller, which features a 'PlayStation-esque' layout. But...
by Simon Belmont
28 Mar 2023, 23:44
Forum: Gaming Scripts (v1)
Topic: Customizable Gamepad Scripts
Replies: 4
Views: 1540

Re: Gamepad Script, Four Versions

In re-going-through the four above gamepad scripts I found a few minor corrections that could be made. Though, nothing that would have caused errors; just a few superfluous variables. I have edited the above post, and the scripts therein, to reflect those corrections. As well, I made slight changes ...
by Simon Belmont
18 Mar 2023, 07:05
Forum: Gaming Scripts (v1)
Topic: Customizable Gamepad Scripts
Replies: 4
Views: 1540

Customizable Gamepad Scripts

I wrote four versions of this gamepad script to accommodate mouse functionality on both analog sticks, each analog stick individually, as well as no mouse functionality at all. If you are looking for a script to enhance gamepad functionality (especially in older "retro" games), very likely one of th...
by Simon Belmont
25 Nov 2022, 23:15
Forum: Scripts and Functions (v1)
Topic: Completed Gamepad Scripts, 2 versions; 1 for DOS/PC; 1 for Emulators
Replies: 1
Views: 345

Re: Completed Gamepad Scripts, 2 versions; 1 for DOS/PC; 1 for Emulators

P.S. I'll add the PCPad's 8-Directional scripts tomorrow morning. I don't have access to the internet at home, so have made the above post (as well as this one) from a friend's place. But when I got here to post this I realized that I'd failed to move the 8-directional scripts onto my USB drive. :fa...
by Simon Belmont
25 Nov 2022, 23:03
Forum: Scripts and Functions (v1)
Topic: Completed Gamepad Scripts, 2 versions; 1 for DOS/PC; 1 for Emulators
Replies: 1
Views: 345

Completed Gamepad Scripts, 2 versions; 1 for DOS/PC; 1 for Emulators

>>> UPDATE <<< I have re-written these to be much more efficient and smooth-running single-script which can be named whatever the heck you want. There are four versions, and they can be found here: https://www.autohotkey.com/boards/viewtopic.php?f=19&t=115162&p=513036#p513036 Originally I just want...
by Simon Belmont
13 Jun 2022, 23:49
Forum: Gaming Help (v1)
Topic: Looking for some help on a gamepad script.
Replies: 1
Views: 263

Looking for some help on a gamepad script.

The first thing I should (have) point(ed) out is that this script is largely based on those found here: https://www.autohotkey.com/docs/misc/RemapJoystick.htm#using-a-joystick-as-a-mouse . I would credit the authors by-name, but their names aren't listed. I've merely recompiled aspects of those that...
by Simon Belmont
04 Mar 2022, 11:25
Forum: Gaming Help (v1)
Topic: Using AHK to perform an analog stick spin with a keyboard key Topic is solved
Replies: 3
Views: 1439

Re: Using AHK to perform an analog stick spin with a keyboard key Topic is solved

As 64 bit systems iterate in roughly 15.6ms intervals (64 iterations per second), 16ms is the smallest increment that I've found to be reliable. Anything smaller will be rounded up to at least 15.6ms, when put into effect. Which might throw off your math, if you were figuring on smaller windows of t...
by Simon Belmont
04 Mar 2022, 11:17
Forum: Ask for Help (v1)
Topic: Discard Interrupted Threads
Replies: 6
Views: 676

Re: Discard Interrupted Threads

I confess, I don't know what the difference between AutoHotkey_L and AutoHotkey_H are, nor do I even know which one I'm using now. I just downloaded it from the AHK main page and installed it. I know it's not v2. But, past that, I can't say for sure. I'm pretty new to AHK. Most scripts people post a...
by Simon Belmont
04 Mar 2022, 08:43
Forum: Ask for Help (v1)
Topic: Discard Interrupted Threads
Replies: 6
Views: 676

Re: Discard Interrupted Threads

Maybe I replace Return with Reload. Is spamming Reload known to cause problems?
by Simon Belmont
04 Mar 2022, 04:30
Forum: Gaming Help (v1)
Topic: Using AHK to perform an analog stick spin with a keyboard key Topic is solved
Replies: 3
Views: 1439

Re: Using AHK to perform an analog stick spin with a keyboard key Topic is solved

This "rotates" clockwise, starting and ending with Right (3 o'clock). It's not elegant, but it should get the job done. Y:: { Send, {Right down} Sleep, 64 Send, {Down down} Sleep, 64 Send, {Right up} Sleep, 64 Send, {Left down} Sleep, 64 Send, {Down up} Sleep, 64 Send, {Up down} Sleep, 64 Send, {Lef...
by Simon Belmont
04 Mar 2022, 01:09
Forum: Ask for Help (v1)
Topic: Discard Interrupted Threads
Replies: 6
Views: 676

Re: Discard Interrupted Threads

Just as an example of the type of script I mostly use … #HotkeyInterval, 99000000 #InstallKeybdHook #InstallMouseHook #KeyHistory, 0 #MaxHotkeysPerInterval, 99000000 #MaxThreads, 2 #MaxThreadsBuffer, Off #MaxThreadsPerHotkey, 1 #NoEnv #Persistent #SingleInstance, Force #Warn DetectHiddenWindows, On ...
by Simon Belmont
04 Mar 2022, 00:56
Forum: Ask for Help (v1)
Topic: Discard Interrupted Threads
Replies: 6
Views: 676

Discard Interrupted Threads

Is there any way to discard interrupted threads, rather than their going into a dormant state which they resume from (right where they left off) as soon as the current thread ends..? Maybe something that could be added to the auto execute section of a script? I want to buffer one thread, up-front. I...
by Simon Belmont
24 Jan 2022, 13:42
Forum: Ask for Help (v2)
Topic: How long does critical last?
Replies: 9
Views: 1418

Re: How long does critical last?

If Critical or Critical, On occurs outside of a HotKey's thread or { } s, it will remain true until Critical, Off occurs. If Critical or Critical, On occurs within a HotKey's thread or { } , it will remain true until either Critical, Off occurs or the thread ends. A:: Critical, On ; will remain true...
by Simon Belmont
30 May 2021, 01:11
Forum: Gaming Help (v1)
Topic: One Var Calling On Multiple GetKeyStates
Replies: 10
Views: 498

Re: One Var Calling On Multiple GetKeyStates

Awesome! This addressed the problem I was having with Mods . The problem with the WheelLeft and WheelRight , was the product of my own forgetfulness. I had forgotten that I reassigned those mouse functions to F23 and F24 , so that I could still make use of them, without Firefox seeing those function...
by Simon Belmont
28 May 2021, 23:05
Forum: Gaming Help (v1)
Topic: One Var Calling On Multiple GetKeyStates
Replies: 10
Views: 498

Re: One Var Calling On Multiple GetKeyStates

So, I have tried this. Sorry it's taken me a while to follow up here. That's mostly because it took me a while to wrap my head around how the suggested block works. Some of it works fantastically; really it's exactly what I've been going for, all along. I especially like that I can put "abort()" nea...
by Simon Belmont
29 Apr 2021, 16:41
Forum: Gaming Help (v1)
Topic: One Var Calling On Multiple GetKeyStates
Replies: 10
Views: 498

Re: One Var Calling On Multiple GetKeyStates

These are the changes I've made, and the results appear to be flawless. Thank you again. #HotkeyInterval 99000000 #KeyHistory 0 #MaxHotkeysPerInterval 99000000 #MaxThreads 2 #MaxThreadsPerHotkey 1 #NoEnv #Persistent #SingleInstance Force #Warn DetectHiddenWindows, On ListLines, Off Process, Priority...
by Simon Belmont
29 Apr 2021, 11:34
Forum: Gaming Help (v1)
Topic: One Var Calling On Multiple GetKeyStates
Replies: 10
Views: 498

Re: One Var Calling On Multiple GetKeyStates

Wow.. I actually did know about loops keeping their own count (if you specify one (as I even did, in this very block!)). I can't believe it didn't occur to me to utilize it, over adding a separate counter!!! xD

Thank you! ^_^
by Simon Belmont
28 Apr 2021, 20:32
Forum: Gaming Help (v1)
Topic: One Var Calling On Multiple GetKeyStates
Replies: 10
Views: 498

Re: One Var Calling On Multiple GetKeyStates

%%/|| (I read; on these forums) equates to "and/or". Is that not so? Is there a problem with using multiple GetKeyState() s, in assigning value to one variable? I assumed it would return true, if any of those keys were being pressed, at the time the variable is called on. I also understood the sing...
by Simon Belmont
28 Apr 2021, 17:04
Forum: Gaming Help (v1)
Topic: One Var Calling On Multiple GetKeyStates
Replies: 10
Views: 498

One Var Calling On Multiple GetKeyStates

First of all; I am, at best, a self-taught novice in the world of script writing. And this is the first time I've ever asked for help here. I'm not asking you to go easy on me; just explaining that I may not use the most helpful language to explain my questions. But, I am open to all criticism! I'm ...

Go to advanced search