Questions tagged [mouse]
The mouse tag has no usage guidance.
25 questions
1
vote
0
answers
50
views
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 ...
1
vote
1
answer
1k
views
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/...
1
vote
0
answers
42
views
Keyboard commands not working? [duplicate]
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 <Keyboard....
1
vote
0
answers
37
views
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 ...
1
vote
0
answers
721
views
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 ...
2
votes
1
answer
137
views
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 ...
1
vote
0
answers
253
views
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 ...
1
vote
0
answers
558
views
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 ...
2
votes
1
answer
245
views
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 ...
1
vote
1
answer
4k
views
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 ...
0
votes
1
answer
35
views
Using MouseX in processing to control LEDs. Error in code - LEDs remain off
I am fairly new to processing and Arduino - I have a coursework deadline for both on Monday (6th January).
I am trying to write a script that uses the mouseX values to turn LEDs on and off. I haven'...
1
vote
0
answers
799
views
Interfacing optical mouse with arduino
I have a USB mouse which I am using to measure distance travelled by my bot for a project. I followed this blog to get the optical sensor from the mouse from the arduino and interface it with the ...
2
votes
1
answer
936
views
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?
1
vote
0
answers
95
views
Optical mouse sensor M116504386 arduino libary
I am doing project and I used optical mouse IC sensor M116504386 with 16 pins and I don't know how to get this sensor libraries to interface it with arduino uno.
1
vote
2
answers
1k
views
How do I move more than 128 pixels when using Arduino Leonardo's Mouse.move?
How do I move more than 128 pixels when using Arduino Leonardo's Mouse.move?
Is it possible to modify the header file or use a different library?
I used the MouseTo library, but it wasn't the move I ...
0
votes
1
answer
5k
views
how to use mouse.h library for arduino uno
I want to use mouse.h library with arduino but mouse.h library only for Leonardo not UNO . How to use mouse.h for UNO if not
can we convert arduino UNO to Leonardo ?
1
vote
0
answers
392
views
How fast an Arduino mouse would be?
I'm thinking about making a custom Arduino-based mouse and I expect not to be the first one to have the idea. Does anybody know what speed I can expect to achieve? Suppose I use a mechanical mouse as ...
1
vote
2
answers
3k
views
Can the Mouse library scroll horizontally?
I'm using the Mouse library with an ATmega32U4 connected to Linux via USB.
I would like to issue horizontal scroll commands, but the Mouse.move() function only seems to accept X movement, Y movement ...
7
votes
1
answer
7k
views
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. ...
0
votes
2
answers
1k
views
Using ATiny102 as HID device(emulating mouse)
I am trying to make my own mouse/keyboard from an attiny (it doesn't have to be attiny102 as the title suggests). I have read many articles on this subject: some are using v-usb library.But I ...
2
votes
2
answers
16k
views
Using ATTiny85 as a USB HID Mouse [closed]
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 ...
1
vote
2
answers
757
views
Using ps2 mouse (PAW3402 / PAW3412) as a distance sensor for arduino
I am working on a project where I need to calculate distance traveled by a robot. The mouse is connected to the arduino uno processor and I received some sample code from the arduino website to get ...
3
votes
1
answer
4k
views
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 ...
2
votes
1
answer
235
views
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?
0
votes
1
answer
752
views
Arduino Mousecontroller library doesn't work
I am working on a project with the Mousecontrol library. This causes me a lot of problems with loading the library. I imported the library but it gives me errors everytime. I think it is a mistake in ...