Gtgamewizard
Posts: 1
Joined: Mon Oct 29, 2018 7:17 pm

Making a Gaming mouse?

Mon Oct 29, 2018 7:51 pm

Hey everyone,

First time post, I'm creating my own gaming mouse with my own 3d printed design and i'm looking for a good way to actually put a sensor buttons and scroll wheel in there.

I was wondering it would be possible to create this with a Raspberry Pi? And if so, how hard would this be / would this be low latency enough to be utilized as a gaming mouse? :|

Thanks in advance!

User avatar
HawaiianPi
Posts: 3034
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Making a Gaming mouse?

Tue Oct 30, 2018 1:42 pm

Probably not. I think you'd be better off with a micro controller, or gutting an existing mouse and using that in your casing.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
RaspbianDK
Posts: 6
Joined: Fri Oct 26, 2018 12:21 pm
Location: Denmark

Re: Making a Gaming mouse?

Mon Nov 12, 2018 8:28 am

Interesting question. Following.

User avatar
Imperf3kt
Posts: 1481
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Making a Gaming mouse?

Mon Nov 12, 2018 9:04 pm

Disregarding how you would achieve it, the Pi is not "real time" enough for this use. You may find your mouse cursor several dozen milliseconds behind your movements - disastrous for gaming in anything requiring precision.
Stop plugging your fan directly into the GPIO 5v
https://www.electronics-tutorials.ws/power/transient-suppression.html

User avatar
Gavinmc42
Posts: 2200
Joined: Wed Aug 28, 2013 3:31 am

Re: Making a Gaming mouse?

Tue Nov 13, 2018 12:48 am

Disregarding how you would achieve it, the Pi is not "real time" enough for this use
But would it be?
Mice use USB, there is some time used up there.
A mouse would have sensor(SPI) to USB interface micro.
Would direct SPI be faster?
With Pi's we can test this, thanks to the IO header.

https://on-winning.com/flawless-sensor- ... t-perfect/
http://www.pixart.com.tw/productsditel2 ... al%20Mouse

The extra advantage is once you make a mouse the same tech can be used for robot navigation?
The Pi can have up to 5 SPI chips with normal chip selects.
Some robot guys have used mouse sensors as mini cameras/image sensor for obstacle avoidance.
Is there a supplier of Pixart chips?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Imperf3kt
Posts: 1481
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Making a Gaming mouse?

Tue Nov 13, 2018 2:28 am

Maybe, but what about booting it? It may take a minute before you can even use the mouse.
Stop plugging your fan directly into the GPIO 5v
https://www.electronics-tutorials.ws/power/transient-suppression.html

User avatar
Gavinmc42
Posts: 2200
Joined: Wed Aug 28, 2013 3:31 am

Re: Making a Gaming mouse?

Tue Nov 13, 2018 6:20 am

Maybe, but what about booting it? It may take a minute before you can even use the mouse.
2-3 seconds on Ultibo, less interference from Linux OS :D

Hmm use a Zero as a Mouse, another Zero as Keyboard?
Or try a Microbit? Arduino?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Gaming”