AndunHH / spacemouse

Repository for a space mouse, which emulates a 3Dconnexion "Space Mouse Pro wireless". It is based on four joysticks with additional keys or an encoder
Other
83 stars 16 forks source link

feat: Add PlatformIO support #18

Closed skorokithakis closed 3 months ago

skorokithakis commented 3 months ago

This now sets the correct hardware UIDs etc.

AndunHH commented 3 months ago

Great! This works. I tested it in vscode with plattformio and it is also compatible with the arduino IDE!

I just scrammbled with the merge here, due to my updated comment commit a few minutes ago. ;) I'll fix it and merge this request.

AndunHH commented 3 months ago

One step forward, two back --- ok, one to the side and then two forward ... ;)

The arduino IDE is very picky with the name of the folder where the .ino file is located. I didn't succeed to commit my commits to this pull request, therefore I created a branch based on you pull request:

https://github.com/AndunHH/spacemouse/tree/skorokithakis-feat-platformio

I tried to fix it using the src_dir parameter in plattformio.ini.

What do you think about it?

skorokithakis commented 3 months ago

Oh, that looks good to me!

skorokithakis commented 3 months ago

Thanks! Actually, maybe you want to put the PlatformIO section first in the Readme, as it's by far the easiest way to install now.

AndunHH commented 3 months ago

done in c9ebd67

skorokithakis commented 3 months ago

Thanks!