Skip to content
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

Installer script for intercept [Feedback wanted] #26

Open
jlndk opened this issue Feb 19, 2017 · 1 comment
Open

Installer script for intercept [Feedback wanted] #26

jlndk opened this issue Feb 19, 2017 · 1 comment

Comments

@jlndk
Copy link

jlndk commented Feb 19, 2017

Installer Script

After i saw the new video on Taran's channel (https://www.youtube.com/watch?v=y3e_ri-vOIo&t=1s) where he explains the long and tedious process of getting intercept.exe to work, I wondered to myself if there wasn't a simpler way of doing this.
Luckyly there's way of making automated scripts directly in windows (if you didn't know) through batch (.bat) files.
I therefore wrote an comment on the video suggesting making such script. After the approval of Taran himself I've now started hacking on a initial draft.

I just wanted to make this issue to collect feedback and hear peoples thoughts before i submit the script :).

My basic thought is to create a file that automaticly does all the things described in the video.
As i see it the steps are as follows:
1: download the two programs (interception and intercept.exe).
2: Install interception as a admin user (We dont need to install intercept.exe, just unzip it)
3: Fiqure out the keyboard's id (maybe through intercept.exe)
4: Fill out the template keymap by taran.
5: Download the autohotkey script
6: Profit!

I'm gonna try to keep the dependencies as few as possible, since we dont want people to install even more programs on their computer, just to make this work. Therefore i try to stick to tools already avalible in windows by default (hence the use of batch). We might have to pull some libraries for when we want to populate the keymap with the keyboard id, but I'll give you an update on that later ;).

@jlndk
Copy link
Author

jlndk commented Feb 19, 2017

Okay, time for a quick update.

I've now finished the inital installation script (can be seen on my fork of this repo for now).
You're welcome to test it and provide feedback if you want :).

While creating the script I realised that we would have to split the installation process itself into two seperate files, since intercetion requires a restart before we can use it.
Because of that I've now started work on a new file that's supposed to get the device id from a given keyboard and populate tarans keyremap.ini file.

However I was unable to find an automated way to get the device id in an easy way. Luckily for us the source code for both intercept and interception is available which means that I can extract the parts we need for keyboard detection. Someone could actually make a rewrite tailored our specific needs, but that would be a kinda big undertaking.

So for now im gonna create a little program, based on intercept, that gets the device id so that we can automate the original process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant