-
Notifications
You must be signed in to change notification settings - Fork 61
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
I ported this to Windows, but not working #71
Comments
Sorry, I don't have a Windows machine so I can't help much. Maybe try to find some working examples of the |
No problem, I'm having fun with it 👍 How did you figure out the communication protocol, reverse engineering? Or does some document exists? |
I reverse engineered the Windows app |
That is amazing! May I be so free to ask what USb sniffer tool you used? I
used to be an assembly code hacker on Commodore 64 and Amiga machines, so
this kind of hacking still interests me
…On Tue, 7 Dec 2021, 12:15 Radoslav Gerganov, ***@***.***> wrote:
I reverse engineered the Windows app
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASHK3Y6BJLUMWOIA3B25RDUPXUGFANCNFSM5JPGUIEQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
In this particular case, I just decompiled the Windows binary (.NET app) and figured out the commands it sends. |
On Windows, it seems that when writing to the device, I need to always start with a zero byte, then I was to program the footswitch. So basically, I had to change the following function
The documentation of
Not sure what that means, but starting with a zero byte did it for me. |
Great! Could you please send a pull request? |
The I currently just make a Visual Studio 2019 project, using vcpkg as pakcage manager, but ideally I should convert this to I see what I can do, maybe starting with a VS project and an updated README is good enough. |
Thanks for this library!
Do I need to install anything extra for the code to work?
I ported the code to Windows, and although I don't get any error messages when sending commands to the pedal, whenever I press it, it just keeps sending the "b" keystroke.
I also noticed that
-r
hangs forever unfortunately.The PCsoftware download URLs is down, so I can't install their drivers.
Any tips?
The text was updated successfully, but these errors were encountered: