Hi, I successfully connected a laptop PS2 touchpad to the Arduino Uno, and everything works perfectly. However, I need to continue with my project on the ESP32.
To my surprise, I'm finding the Mouse and PS2 serial libraries available on the web don't work with the ESP32, and all of them cause it to end up blocked when the initialize function is called. During my search, I've found one PS2 library is the fork of another library... and another, and so on, I've tried all the ones I could find with no luck.
IF... (you reader) wonder where is the sample code on my thread, there is no need. I have tried every sample code coming with the libraries, and it just doesn't work with the ESP32.
Found a thread about a project where after some mods, "it worked", but I can't get any of that to work, already contacted the author who replied kindly, but pointed me to a diff project instead with the same issues. I'm aware that besides the evident lack of support of these libraries to diff processors, not every code and library works out of the box (not always), and sometimes there are incompatibilities with specific IDE versions.
I've done my homework and tried hard to find light on this before asking, but no luck so far. I'm also a coder on diff languages, and I understand the importance of specifics on certain situations, I'm not finding those specifics to get this working.
It's been a while (years) since I posted on the Arduino forum, for some reason I noticed lots of users with tons of posts not helping anyone, but instead just making noise like "you should know already", and people complaining for that and leaving, mental health is an important aspect on public places, I hope not to regret posting this time.
I would love to continue this project using the ESP32 and avoid moving to other platforms, as there have been so many changes... sometimes you migrate to a diff platform only to find new incompatibilities.
Any help will be appreciated.