Questions tagged [mouse]
25 questions
7
votes
1 answer
Arduino as a real device to computer
Suppose we have a computer mouse , now when we connect it to a computer then computer understands it is a mouse which is been connected to it. Same thing happens for keyboard and many other devices. As per my understanding, the mouse has a…
Siddhartha Sadhukhan
- 185
- 1
- 7
3
votes
1 answer
Interfacing pc mouse (serial port DB-9)
So I`ve got that mouse with serial connector. It is named serial so it should be easier to connect than even a ps2 mouse, right?
I can`t find any instruction on it. Or should I see instruction on ps2 mouse and plug in the same wires?
Btw mouse has…
TheKitMurkit
- 133
- 1
- 3
2
votes
1 answer
How to Fix mouse cursor lag on voice & movement based head mouse in wireless setting?
For my head mouse project which is based on the voice recognition module V3.1 for left click, double click, right-click operations, I am facing a problem. I am using 433Mhz Radio Frequency one-way Transceiver for sending data. When I use the MPU…
Nahian Rifaat
- 161
- 6
2
votes
1 answer
Debugging RN 42 HID Mouse
I'm trying to use the RN 42 and Arduino Uno to control a bluetooth mouse. I configured the RN 42 with the commands S~,6 and SH,0220 and R,1 to put the device in HID mouse mode. Is there anything I missed? Below is the sketch I am using to send mouse…
ponderosa
- 51
- 1
- 4
2
votes
1 answer
Current mouse pointer position with Digispark attiny85
I am trying DigiMouse library for attiny85 Digispark board.
It allows to emulate the mouse quite well.
However, I also need to know the current cursor position. Is there a way to get it?
zhekaus
- 459
- 2
- 6
- 18
2
votes
2 answers
Using ATTiny85 as a USB HID Mouse
Our project involves using an arduino compatible microcontroller to control a mouse on a computer with an accelerometer and flex sensor. We had narrowed down to the ATTiny85 due to its small size.
We found a particular tutorial on the Adafruit…
Souvik Saha
- 55
- 1
- 2
- 7
2
votes
1 answer
what units do Mouse.move() use?
When I use Mouse.move() method (https://www.arduino.cc/en/Reference/MouseMove), what are units of xVal and yPos parameters?
Mirek
- 21
- 1
1
vote
0 answers
Using RN-42 as HID Mouse
I am using RN-42 with Arduino Micro and able to connect RN-42 in HID mode and it's connected to the PC as Mouse. I am using BPLib (https://github.com/witnessmenow/BPLib) for Bluetooth communication. I am not sure where I am making a mistake as…
Abubakar
- 39
- 2
1
vote
1 answer
Mouse.move: how do I move the mouse to the center of a screen?
I have a program operating in full screen mode. I would like to move the mouse to the center of the screen. Is this something I can do with the functionality of Mouse.h?
https://www.arduino.cc/reference/en/language/functions/usb/mouse/
Mouse.move…
j0h
- 902
- 4
- 13
- 30
1
vote
0 answers
Keyboard commands not working?
So I've been trying to use Mouse.move();
and Keyboard.press();. Every time I try to send it to my Arduino(mega 2560) it says keyboard or mouse was not declared. Any solutions?
#include
void setup() {
pinMode(2, INPUT);
}
void…
yesimaperson55665
- 11
- 2
1
vote
0 answers
Clicking a mouse based on dwell time / how to code a rolling total of sensor measurements
I'm trying to write code that should result in a click of the mouse, based on dwell time. I'm getting data from a gyroscope to move the mouse around. I'm not sure what the best way is to approach this from a coding perspective.
My current thinking…
Zhelyazko Grudov
- 367
- 2
- 15
1
vote
0 answers
Bluetooth HID for mouse project
I’m working on a project, to create an air mouse for people with repetitive strain injury (since I have it as well). I’m flexible with the hardware required. The plan is to use data from an IMU for movement. I’m currently learning how to work with…
Zhelyazko Grudov
- 367
- 2
- 15
1
vote
0 answers
leonardo mouse readings
hi there im using arduino uno + usb host shield and i have taken the readings from the usb mouse in this line of code : x = mi->dX;
and the x output is the speed of the mouse x coordinates
and i wanna make it thru an analog reading from 0 to 1023…
mohamed shalaby
- 23
- 2
1
vote
0 answers
usb host shield + wireless mouse (Read 5 times)
hello guys i have a problem ,
i have a usb host shield v2.0 from circuits @home attached to an arduino mega and to a usb wireless reciever mouse ,
this is the serial monitor output :
x=0 dy=3
dx=0 dy=-1
dx=0 dy=-1
dx=0 dy=-1
dx=0 dy=-1
dx=0…
mohamed shalaby
- 23
- 2
1
vote
1 answer
Making a Bluetooth Mouse with Arduino
I'm trying to make a bluetooth mouse using Arduino. I will be using an analog 2 axis thumbstick as the sensor. I understand that it's possible to do this with the Arduino connected directly to the computer…
ponderosa
- 51
- 1
- 4