-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intercept, but done with callbacks #45
Comments
Uh huh. Uh huh. This looks brilliant. And good on you for taking and modifying one of my ideas! That's why I share them in the first place. Sometimes I hear about other people using AHK to do really cool shit, but they don't share their code, so I can't see how they did it. I'll definitely mention this in the next "adding additional keyboards" video that i make. BUT, my key wrapping trick has been remarkably effective -- only failing if you mash several keys at once (it gets confused with so many up and down key events for F23 or whatever) So, why do you think that it's better to wrap in a variable, rather than a keystroke? I'm sure you must have a good reason... ONE THING that you might NOT be able to do with your solution, is use modifier keys effectively. ALSO,
Good work, though! Keep on keepin on! |
When you press a keyboard key using Intercept, it sends eg F24, which triggers an AHK hotkey, which sets a variable, which enables some hotkeys. I am not sure about the remapping keys to CTRL, I think it will work, I will try when I get home.
We have entered negotiation with Francisco Lopez to buy a full Interception license, fix this issue, then release a new version. Nefarius (Of ViGEm and SCPToolkit fame) has stepped up to the plate on this one and has volunteered to do the coding and sign the new driver. As a side note, I have plans to add support for the Elgato StreamDeck to my remapping application UCR - the StreamDeck has an API - we are hoping we can allow binding of stuff to StreamDeck keys, and control the images on the buttons in response. BTW if you want to chat, you can find me in the HidWizards Discord Channel |
I just tried the remap key to ctrl test with the "context" mode and you are indeed correct, it does not work properly. |
You're doing WHAAAAAAAAAAAAAAAAAAAAAAAAAAATTTTTT "∞ keyboards, 1 PC" If it is EASIER to set this up than luamacros+autohotkey (https://www.youtube.com/watch?v=Arn8ExQ2Gjg) AND it can automatically start itself up when you launch Windows... then, it's the bomb diggity. Also, that stuff about the stream deck? U da real MVP. Amazing. Yeah, being able to still assign a normal keystroke or hotstring or macro... to a key on a secondary keyboard... is pretty important. I wouldn't wanna give that up. |
Yes, that kind of remap must be done using interception. Here's where I do it to numpad5 in my keyremap.ini file: 2nd-keyboard/Intercept/keyremap.ini Line 437 in 5e18c0d
See? Very simple, and 100% effective so far. Just one bit of code to change the down event, and another to change the up event. |
New release of AutoHotInterception!
Note that with your method, you need to hard-code what the remapping is, but with my method, you can dynamically send any key as a replacement (Or simply just blackhole the key) |
This gives me nightmares. |
And to be clear, I am not proposing that I pay for the driver, I am proposing that we (The community of people that badly want it) pay for it via crowdfunding. Which is why I am hoping that Linus and yourself are resources that I can draw on, as you have access to a large audience with a proven interest. |
Yes, I understand. The way I run my AHK scripts upon startup, (well, upon login to my user account) is to just place a shortcut to the scripts in my startup folder. I guess your thing is a lot more complex, though? |
I said |
OK off to bed now, I updated the documentation some to add a big fat warning, plus have pinged Lexikos to see if I can find out why I need that
|
Well something. It seems he has set a goal of $400 a month to up the device limit, but no mention of us getting access to the source. Not sure how open I am to ~$5k a year for no guarantee of getting what we want (eg he may address the max limit, but not address what happens if you exceed it). |
@evilC Dude you have no idea you're talking about, |
Sharing project ownership with some unknown also doesn't make much sense. |
I was basing this on sometimes seeing this error when trying to uninstall Interception:
I said nothing about "sharing ownership". Could you not release it to him under a license that requires that he keep the source private, and feed back any modifications to you? |
The only kind of full source licenses are already available, that's not negotiable. I can change the drivers just fine myself, better than anyone else, it solely need the required funding (you alone don't need to fund the full $400/month, that doesn't make sense, it's about tipping), it's not because of this that I'll, instead, figure out another license model, while also expending my time on that, for someone else to do it on my behalf. |
@TaranVH Sorry for commenting over this matter here, I think it doesn't make sense for your project, your issue tracker, I'll leave it at that. |
Nope, totally fine. Keep it going, if need be! Or, link to another thread where we can continue the discussion. To provide context to anyone else reading this thread: Initial thread with my comments on Interception's Github: Francisco Lopes crowdfunding: |
OK.
Sorry, no, thanks.
I didn't notice the Corsair video existence until now... I thought interest was due to the previous videos. I even came to know due another one when it was linked here.
I guess Patreon should be seen as first, it's the more well known platform for this, but I wanted to leave options. I couldn't set multiple goals on Liberapay as I was able on Patreon, so the Patreon page is also more descriptive on that. |
What do you think I am, rolling in cash? That was never an option ;)
Until you are pulling in $400 a month, what do Patrons get for their money? I would not be comfortable driving a fund-raising effort based solely on the existing proposal, it's all too non-committal.
So by the current proposed deal, you are perfectly entitled to sit on what we want, and you already effectively have, until you get the costs paid for some projects which we have no interest in (When others like myself and Nefarius burden our own costs, and give away everything free), then you will "look to" buying the cert needed to release the increased device limit Interception. |
@TaranVH Hi, made a bunch of progress with AutoHotInterception, it's getting pretty mature now. |
@TaranVH FYI, we are currently looking into reverse-engineering Interception, and we think we have found out how to remove the 10 device limit. I don't have >10 devices to test with at the moment though, are you interested in helping out? |
You don't actually need 10 keyboards. Just unplug and re-plug a normal keyboard 10 times! |
im trying to figure out how to make it trigger a string of presses over and over (i.E.) for when afk in game and dont want to get afk kicked. ive look around and theres not much info on this. also im no using hotkey just intercept, as it triggers the key combos i want. but how to have it hit a key wait say a sec and hit the key again? even if it was infinite i could end the program when done and restart it. anyways thanks to anyone that can help me |
Hey @slimpikins , |
|
Thank yall. Looks like im installing AHK :( owell. Thanks again for the help. |
Hi y'all, just to let you know that I shamelessly stole your idea of wrapping keys to set an AHK context, but I found a sneakier way to do it.
I wrote a C# DLL which wraps interception that you call from AHK via CLR, and pass it an AHK function object, along with a VID / PID.
Any time Interception sees input on that device, it fires that AHK function object, which sets the context variable, then it sends the key, then it fires the code again to unset the context variable.
https://github.com/evilC/AutoHotInterception
See "Context Mode".
I also have a mode where you can register a callback for each key ("Subscription Mode")
The text was updated successfully, but these errors were encountered: