Search found 4335 matches

by evilC
20 Sep 2018, 18:35
Forum: Scripts and Functions
Topic: AutoHotStreamDeck - AHK wrapper for Elgato Stream Deck (Keys with screens in them!)
Replies: 6
Views: 370

Re: AutoHotStreamDeck - AHK wrapper for Elgato Stream Deck (Keys with screens in them!)

You do not need this library to see hotkeys coming from a streamdeck, normal AHK scripts can do that. This library allows you to respond *directly* to the button presses on a streamdeck, without using a keyboard key as a transport mechanism. It would also let you draw the text "Activate Window&...
by evilC
14 Sep 2018, 12:03
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.20 7th Sep 2018
Replies: 949
Views: 197320

Re: Universal Control Remapper (UCR) - v0.1.20 7th Sep 2018

If you drop into the HidWizards discord channel linked on the github page, I can maybe cobble together something together (Or show you how to). Not really relevant to this thread...
by evilC
14 Sep 2018, 09:29
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.20 7th Sep 2018
Replies: 949
Views: 197320

Re: Universal Control Remapper (UCR) - v0.1.20 7th Sep 2018

I think someone wrote something vaguely similar for single-axis use (eg mapping a throttle to 10%, 20% etc) but not an H-shifter. It's definitely possible though, but you would need to consider both axes. Having seen that Iris Dynamics dynamic FFB H-Shifter video, would love to be able to do somethi...
by evilC
11 Sep 2018, 18:12
Forum: Scripts and Functions
Topic: Improved Joystick to Keyboard remap script
Replies: 15
Views: 4935

Re: Improved Joystick to Keyboard remap script

PJP JoyIDs will list the IDs of all connected sticks
by evilC
11 Sep 2018, 12:01
Forum: Scripts and Functions
Topic: Improved Joystick to Keyboard remap script
Replies: 15
Views: 4935

Re: Improved Joystick to Keyboard remap script

That is outside the scope of this post.
Does the device appear in joy.cpl while in BlueTooth mode? If not, there's no way it will work with AHK
by evilC
11 Sep 2018, 11:58
Forum: Gaming
Topic: [Library] MouseDelta - See mouse input the way games see it. (Use for mouse axis->key or joystick)
Replies: 90
Views: 23051

Re: [Library] MouseDelta - See mouse input the way games see it. (Use for mouse axis->key or joystick)

Hello Hello ! First post here, and kind of a noob to ahk, otherwise wuldn't be asking this selly question ! ! ! How do we use this librairy ?! Like, I can't figure out how to properly do something with it ! To explain the whole thing, I'm creating a bot for a game called trove to use multiple accou...
by evilC
11 Sep 2018, 11:57
Forum: Gaming
Topic: [Library] MouseDelta - See mouse input the way games see it. (Use for mouse axis->key or joystick)
Replies: 90
Views: 23051

Re: [Library] MouseDelta - See mouse input the way games see it. (Use for mouse axis->key or joystick)

Ducky wrote:Yeah, can we get some code that presses d when it moves to the right, and presses a for left? I am a total novice in programming too.

This is exactly what Sample Script 2 does.
by evilC
07 Sep 2018, 11:59
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.20 7th Sep 2018
Replies: 949
Views: 197320

Re: Universal Control Remapper (UCR) - v0.1.20 7th Sep 2018

I was not intending to do any major changes to this version of UCR, however it seems that a recent Win10 update broke non-Xbox360 controllers (One, Elite, Accessibility) while the UCR window was not active. For most people, UCR-C# should be fine, but primarily for OneSwitch and the accessible gaming...
by evilC
07 Sep 2018, 07:31
Forum: Bug Reports
Topic: GetKeyState for XBox Elite controller stops working when window is not active
Replies: 6
Views: 156

Re: GetKeyState for XBox Elite controller stops working when window is not active

@Lexikos - Thanks for the confirmation @OneSwitch3000 - This was not really about trying to get XInput support built in to AHK, I was just trying to ascertain what the root cause was and whether there was a simple fix. I think it would be much less work for me to implement XInput in UCR than for Lex...
by evilC
05 Sep 2018, 14:36
Forum: Bug Reports
Topic: GetKeyState for XBox Elite controller stops working when window is not active
Replies: 6
Views: 156

Re: GetKeyState for XBox Elite controller stops working when window is not active

Yeah, it seems that the XBO / XBE / XBA do not use XUSB.sys
by evilC
05 Sep 2018, 13:01
Forum: Bug Reports
Topic: GetKeyState for XBox Elite controller stops working when window is not active
Replies: 6
Views: 156

GetKeyState for XBox Elite controller stops working when window is not active

I have had numerous reports of this from users of my scripts, and have no idea what is causing it. THIS ONLY HAPPENS WITH XBOX ONE, ELITE OR ACCESSIBILITY CONTROLLERS Test script: id := 1 OutputDebug DBGVIEWCLEAR Gui, Add, Text,, Stick ID: Gui, Add, DDL, x+5 yp-3 AltSubmit gStickChanged hwndhStickId...
by evilC
05 Sep 2018, 12:31
Forum: Ask For Help
Topic: SpaceBar Gets stuck
Replies: 24
Views: 307

Re: SpaceBar Gets stuck

Duh, just noticed a typo in my last code. Try this #SingleInstance force OutputDebug DBGVIEWCLEAR /* Pan: Space + LButton = Alt + LButton Zoom: Space + Alt + LButton = Alt + RButton Rotate: Alt + LButton = Alt + MButton */ keyMappings := {Pan: {Input: ["Space", "Lbutton"], Output...
by evilC
05 Sep 2018, 12:22
Forum: Ask For Help
Topic: SpaceBar Gets stuck
Replies: 24
Views: 307

Re: SpaceBar Gets stuck

Try this #SingleInstance force OutputDebug DBGVIEWCLEAR /* Pan: Space + LButton = Alt + LButton Zoom: Space + Alt + LButton = Alt + RButton Rotate: Alt + LButton = Alt + MButton */ keyMappings := {Pan: {Input: ["Space", "Lbutton"], Output: ["Alt", "LButton"]} ...
by evilC
05 Sep 2018, 12:18
Forum: Ask For Help
Topic: SpaceBar Gets stuck
Replies: 24
Views: 307

Re: SpaceBar Gets stuck

Ah, then that is probably it. Will take a look and let you know. I guess I need to also check which input keys are currently pressed, and release any that are not part of the combo to be sent. I currently only do this for output keys, so this might explain why it does not work.
by evilC
05 Sep 2018, 11:03
Forum: Ask For Help
Topic: SpaceBar Gets stuck
Replies: 24
Views: 307

Re: SpaceBar Gets stuck

I am wondering if, now that we pass through keys that do not complete a valid combination, it is breaking things. I notice this in your original code: Space & LButton:: Send {Blind}{Space Up} ; [...] Is the Send {Blind}{Space Up} required to make this code work? The code I posted does not suppre...
by evilC
05 Sep 2018, 09:15
Forum: Ask For Help
Topic: SpaceBar Gets stuck
Replies: 24
Views: 307

Re: SpaceBar Gets stuck

I am wondering if the script cannot properly intercept the input...
Have you tried running the script as administrator?
by evilC
05 Sep 2018, 08:24
Forum: Ask For Help
Topic: SpaceBar Gets stuck
Replies: 24
Views: 307

Re: SpaceBar Gets stuck

Here, try this: #SingleInstance force OutputDebug DBGVIEWCLEAR /* Pan: Space + LButton = Alt + LButton Zoom: Space + Alt + LButton = Alt + RButton Rotate: Alt + LButton = Alt + MButton */ keyMappings := {Pan: {Input: ["Space", "Lbutton"], Output: ["Alt", "LButton&q...
by evilC
04 Sep 2018, 09:36
Forum: Ask For Help
Topic: Autohotkey own window Topic is solved
Replies: 9
Views: 146

Re: Autohotkey own window Topic is solved

Are the WinExist and WinActivate commands referring to the same window? If so, why did you change from ahk_exe to ahk_class ? If you are trying to say "If this window exists, activate it", then use identical titles, or on the WinActivate, omit the title entirely to use the "Last Found...
by evilC
04 Sep 2018, 06:14
Forum: Ask For Help
Topic: Autohotkey own window Topic is solved
Replies: 9
Views: 146

Re: Autohotkey own window Topic is solved

Also, the mind truly boggles as to why you are compiling the script and using a shortcut hotkey to launch an AHK script? Why not just run the script uncompiled and put the hotkey in the script? ie ^!+p:: ; Run this code when I hit CTRL+ALT+SHIFT+P If WinExist("ahk_exe mintty.exe") WinActiv...

Go to advanced search