Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mouse]

The tag has no usage guidance.

26
votes
1answer
8k views

How does a ball mouse know the direction?

Foreach axis on a mechanical (ball) mouse there is an IR transmitter and receiver pair with a wheel that looks like having only simple slits. How is the direction calculated?
13
votes
4answers
9k views

Does a USB mouse have memory that could be used to store malware?

I worry that this might get flagged as too broad, but here it goes: Lately I've been thinking about the possibility of loading data on peripheral devices. One of the most used peripherals is the ...
11
votes
1answer
568 views

Mouse dots-per-inch… how to tell?

I'm creating an embedded application that hosts a USB mouse. I'm trying to make it generic for any USB HID mouse/trackball/whatever. I've discovered that mice report differently... while they mostly ...
6
votes
2answers
2k views

Is a computer mouse considered an embedded system? [closed]

Can a computer mouse (optical) be considered an embedded device? Does it adhere to the definition of an embedded system? Is there any good reference for how a computer mouse is made?
5
votes
6answers
245 views

how might i make a mouse who's L and R buttons flip depending on what side of the keyboard it's on?

I was thinking trying to make a little prototype of a wireless mouse that was left-handed or right-handed depending on which side of the keyboard it's on. How might I modify a mouse so that the ...
5
votes
1answer
2k views

How does an optical mouse detect movement?

Can anyone explain it ?
4
votes
2answers
2k views

How does a ps2 mouse send data to a computer? [closed]

I want to read data from a mouse with the help of Arduino. I want to calculate relative motion between two objects. My questions are 1) Is it possible? 2) How is mouse interfaced with Arduino?
3
votes
1answer
8k views

converting STM32F4 discovery USB mouse example to gamepad

I own a stm32f4 discovery board, for which a demonstration project can be downloaded here: http://www.st.com/web/en/catalog/tools/PF257904 This demo consists of software to use the board as a usb hid ...
3
votes
2answers
7k views

Is there an easy way to test if my PS/2 -> USB adapter is passive?

I own a couple of PS/2 to USB adaptor/converter connectors that look like the following: Is there anyway to test if these adapters are passive without disassembling them (or risking damage by ...
3
votes
1answer
1k views

USB mouse with a PS/2 adapter for FPGA PS/2 interface

I'm designing a PS/2 mouse interface for BASYS 2 FPGA board. As you might know to communicate with a PS/2 mouse you need a protocol, so if I write my VHDL program for the PS/2 protocol and then ...
2
votes
2answers
526 views

Is it possible to connect a peripheral mouse to the USB side of a USB/UART bridge that is controlled by a CP2103 chip already on an FPGA board? [duplicate]

As the title states I want to connect a USB mouse to the USB port on a USB/UART bridge. I want to determine if it is possible to communicate with the mouse using serial commands on the FPGA board then ...
2
votes
4answers
7k views

Did anyone build an accelerometer-based mouse? [closed]

To save my hands from CTS (Capal Tunnel Syndrome), I want to have a mouse that uses an accelerometer, connected to any limb in the body, to replace the conventional mouse that you move with your hand. ...
2
votes
1answer
534 views

Kensington trackball button

I'm looking for replacement button for Kensingtons "Orbit Trackball with Scroll Ring". I'm hoping to find at least something similar. Here is how the original button looks like: Button dimensions ...
2
votes
1answer
96 views

Accidentally used 3.6 volt battery for my mouse, now it only works with 3.6 volt [closed]

My mouse requires AA 1.5 volt batteries to work. I accidentally used a 3.6 volt Li-SOCl2 battery. Now it works fine with the 3.6 volt battery but doesn't work at all with a 1.5 volt AA battery. I ...
2
votes
2answers
2k views

How to go about making a keyboard with arduino as the controller [closed]

These are questions I have found that are similar to mine: Arduino as full fledged keyboard controller? This is somewhat similar but it sounds like op is trying to connect an existing keyboard How to ...
2
votes
1answer
813 views

Optical Mouse Sensor Wiring

I'm trying to hack an optical mouse sensor: PAW3204DB. Here is the datasheet. It has a voltage regulator, and I have no idea how to wire this to my arduino. I looked at a different hack for an optical ...
2
votes
1answer
368 views

Optiflow based Odometry speed sensing

Am planning to build a odometry speed sensor based on optiflow to measure the speed of the conveyor. I am using ADNS-5020-E from a old mouse of mine and managed to get the X and Y coordinates by ...
2
votes
2answers
110 views

Wirelessly connect 5" resistive touch screen to computer

Figured out display, just need to transmit touch signals wirelessly. What I have is a 5" monitor with a USB touch overlay connected to my laptop with a USB cable. I've done quite a bit of research ...
2
votes
1answer
74 views

Impact on the battery life of a wireless mouse based on a using practice [closed]

While using a wireless mouse having alkaline batteries, does it matter to the life of batteries, at what distance from my computer I use it? I mean, if I use the wireless mouse from a far distance (...
1
vote
1answer
9k views

How much power does a wireless mouse use? [closed]

I have seen many answers online to how much power the USB dongle linked to a wireless mouse uses, but nothing about how much power the actual mouse draws from its batteries. What is a ball-park ...
1
vote
1answer
35 views

power bank paired with a mouse system [closed]

I would like in a class project to couple a PowerBank and a mouse. Imagine a powerbank in a parallel circuit with a mouse in such a way that one can charge his phone with it and recharge the ...
1
vote
1answer
2k views

Hacking a mouse with an Arduino

I was challenged in university to Hack a mouse in the following manner: What is happening: computer1 has an optical mouse connected to it, and this optical mouse has been hacked in one way or another ...
1
vote
2answers
292 views

How to send data from external device to OS with rs232 and fake it as a mouse

I have a project that i need to send some data with an RS232 to USB cable from external Msp430 launchpad to the computer and fake it as a mouse. Is this possible without learning USB protocols of the ...
1
vote
2answers
249 views

Displacement Sensor [closed]

I am working on a project where I need to measure lengt of the objects floating on a surface. To perform that kind of sensing I am currently focusing on mouse sensors. I first tried ADNS 6010; ...
1
vote
0answers
19 views

Can I set one relative axis and one absolute axis in a mouse HID descriptor?

I'm building a custom Bluetooth mouse using an ESP32 with a proximity sensor for the Y coordinates and a gyroscope for the X coordinates and was wondering if setting the X axis as relative and Y axis ...
1
vote
0answers
45 views

Water level measurement using Optical Mouse Sensor

I wonder if anyone has hacked an Optical Mouse sensor to measure water level in an overhead water tank? Its possible to read frames data from the sensor and if those frames could be processed with a ...
0
votes
3answers
211 views

What exactly is a microcontroller?

Can an optical mouse sensor chip (System On Chip) which has a digital signal processor, Serial I/O, and a set of registers be considered as a Micro-controller?
0
votes
1answer
408 views

AAA battery to power a usb device?

My mouse died recently. Specifically the cord. What ive wanted to do for a while now and have an excuse to do is to try to get the mouse to run via bluetooth. Im a first year engineering student at la ...
0
votes
1answer
548 views

Mouse Wheel Rotary Encoder … encoding wrong

OK, guys - I'm pretty confused here. I bought a cheap wireless mouse to gut and use in a project. Right now I'm trying to get the rotary encoder behaving, but (while it IS behaving) it's behaving ...
0
votes
2answers
409 views

Theoretical max rate of input capture for a USB mouse and possible hardware limitations

I apologize in advance if this is not the correct forum for this question or if the question is too broad to answer. My background is in computer science and I work mostly in Java middleware so this ...
0
votes
1answer
100 views

Connecting mouse to phone [closed]

I'm trying to connect my mouse to my phone but I broke my otg cable. So I split a slimport wire that fits my phone and matches the mouse wire and wired it together but when I plug it into my phone the ...
0
votes
1answer
16k views

How to make a USB receiver for the wireless mouse? [closed]

I have a Microsoft Wireless mouse but the USB receiver is long lost. Is there anyway I can make the receiver myself?
0
votes
1answer
72 views

Using a micro computer as a macro keyboard device?

not entirely sure this is the best StackExchange board but I bet some of the great members here could at least point me in the right direction. I'm looking to use one of the microcomputer devices, ...
0
votes
1answer
178 views

Is it possible move mouse cursors via IR pins?

In a mouse (with ball) there are IR sensors and phototransistor sensors (in pairs) to check the movement of the mouse in both axes. For each axis, there is the following configuration: http://...
0
votes
1answer
1k views

Hacking a ball mouse with Arduino

You can view the image in greater detail on the following link: http://i.imgur.com/z18qD56.jpg I have been trying to hack a ball mouse (mechancial mouse) with my arduino. The objective is to cut off ...
0
votes
2answers
538 views

Smoothing Accelerometer/Gyroscope Displacement Tracking for Mouse Motion

I'm working on a project to combine a linear acceleration reading from an accelerometer and gyroscope, adjusted for gravity, into displacement/position on an x-y plane, specifically for turning the ...
-1
votes
2answers
1k views

Minimal component set to build a computer mouse [closed]

I am searching for a DIY set to build an optical mouse. What I need is a bare minimum set, giving the ability to build a very small mouse without buttons, and possibly for beginners. Should be ...
-3
votes
1answer
887 views

Bluetooth protocol question [closed]

It is my intention to make my own bluetooth mouse. What is the protocol like? For starts I won't be making my own hardware but will be using an emulator. What emulator do you suggest I use, and is ...