So uhm... I tried working on this and reached a little bit of a pickle.
I implemented a bunch of things just to find out a day later that my mouse's side-buttons aren't apparently registered.
I also tried to implement track-pad swipe gestures, but that's still a working progress.
While rabbit holing all over the internet I found out that JavaScript usually registers the side buttons (mouse's 4th and 5th button) for forward and back with code 4 and 3 respectively.
For context, I use a Logitech mx master 3 on linux mint, for which they don't have a native app support...
I used Mouse Test to check if they were getting registered, but they aren't...
So TLDR I can't test what I did, at least not on my current OS.
I might need to dual-boot windows and see. Originally thought of spinning up a vm real quick, but it came to mind that the vm might just get back the codes sent from my OS in the first place...
But in the mean time, could anyone test it and see?
Would really appreciate some feedback :)
So uhm... I tried working on this and reached a little bit of a pickle. I implemented a bunch of things just to find out a day later that my mouse's side-buttons aren't apparently registered. I also tried to implement track-pad swipe gestures, but that's still a working progress.
While rabbit holing all over the internet I found out that JavaScript usually registers the side buttons
(mouse's 4th and 5th button)
for forward and back with code4
and3
respectively. For context, I use aLogitech mx master 3
onlinux mint
, for which they don't have a native app support... I used Mouse Test to check if they were getting registered, but they aren't...So
TLDR
I can't test what I did, at least not on my current OS. I might need to dual-boot windows and see. Originally thought of spinning up a vm real quick, but it came to mind that the vm might just get back the codes sent from my OS in the first place...But in the mean time, could anyone test it and see? Would really appreciate some feedback :)