S
S
slavian122019-04-30 14:17:30
Arduino
slavian12, 2019-04-30 14:17:30

Should the extra mouse+keyboard only work in certain programs?

All the good time of the day.
There is a task. And can anyone tell me if there is a solution in principle.
Two monitors, a regular keyboard and a mouse are connected to one PC. This is what is now.
And I wanted to implement the following:
additionally connect the Arduino Leonardo board (it will emulate keyboards and a mouse. In the device manager it is defined as "HID keyboard" and "HID-compatible mouse").
And so that emulation on Arduini only works in certain programs or on a certain monitor.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
nrgian, 2019-04-30
@slavian12

To do everything is quite serious - this is Aster, etc.
There will be a rigid separation of user sessions - one on one monitor, one mouse, one keyboard; the other on another monitor-mouse-qualifier.

G
GavriKos, 2019-04-30
@GavriKos

The correct option is to write your own driver for these two devices.
An option through the ass is to write a tool that will sit on your computer, monitor the state you need, notify the arduino about this so that it turns on / off.

L
lonelymyp, 2019-05-01
@lonelymyp

It is possible to register a reaction to pressing a scrollock in the arduino firmware, for example,
when it is turned on, the arduina does not work.
It will be possible to control the operation of the arduino manually, at the same time, by the LED on the keyboard, it will be clear whether the arduino is turned on or off.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question