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

"No such file or directory" regarding a link to include "config.h" #16

Closed DougJoseph closed 3 months ago

DougJoseph commented 3 months ago

I am attempting to compile and upload this software, but the Arduino IDE keeps saying "No such file or directory" regarding a link to include "config.h" — so something I've done apparently has me down a path that's different from others.

Would anyone mind sharing their config.h file, or throw me a clue to where I can find one already in my system?

I'm on a Mac. Thanks!

AndunHH commented 3 months ago

Hi You need to rename the config-sample.h to config.h and adapt your pin settings. Follow the instructions in the readme file here in github which will instruct you there.

DougJoseph commented 3 months ago

Ah, thanks!!!

AndunHH commented 3 months ago

If have chosen this behavior, so I don't upload my personal config.h every time I commit some code.

And vice versa: if you update the code from this repository, your config is not overwritten, just the config-sample.h (May be smaller updates are than necessary, but that's easier than repeating the whole calibration and pin assignment after an update)

DougJoseph commented 3 months ago

That's a wise approach for sure. Thanks!