Questions tagged [keyboard]
A text input device. Utilize this tag to ask programming questions regarding reading input from it or blinking the lights, etc.
130 questions
-1
votes
1
answer
80
views
Using Arduino Pro Micro as a Rubber Ducky AZERTY layout
I'm trying to use an Arduino Pro Micro as a cheap Rubber Ducky. I want to use it on a PC that uses the Belgian AZERTY layout.
The problem is that Keyboard.h is not designed for AZERTY keyboards. When ...
-1
votes
1
answer
85
views
Arduino Nano Keyboard. Keys keeps pressed
I'm new in coding with Arduino, and I am trying to make a one hand keyboard with joystick as personal project. I tried to make it print some ASCII characters, but I don't know why the button keeps ...
1
vote
0
answers
159
views
DigiKeyboard BIOS Compatibility
I am using a custom version of the DigiKeyboard library, to use a Digispark as a keyboard in the BIOS. It works on most computers, but HP 730 Thin clients dont recognize it as a keyboard.
Below is the ...
1
vote
1
answer
324
views
Intercepting Keyboard Data on a Micro Controller
Recently I have purchased male and female USB-C breakout boards. I intend to connect the male breakout to a keyboard and the female end to my computer using a USB-C cable and wire the breakouts ...
2
votes
0
answers
227
views
How to connect a ps/2 keyboard to an arduino?
I want to connect an old hp ps/2 keyboard to my arduino (nucleo 64 F303RE). The keyboard has a power rating of 5v and 50mA, I guess this is milliamps.
The ps/2 connector has 4 connecting cables:
GND
...
1
vote
2
answers
802
views
Arduino keyboard Input language problem
I need my Arduino (Leonardo) to open cmd, but if keyboard input language isn’t English it prints another language letters.
——— code ———
Keyboard.begin();
Keyboard.press(KEY_LEFT_GUI);
Keyboard.press('...
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/...
0
votes
1
answer
758
views
Adjusting Threshold for Digital Pins
I am working on a project using Force Sensors to build a keyboard for MD patients.
I have connected the sensors (each with 4 input pins) to digital pins to Arduino Due.
I want to adjust the threshold ...
1
vote
1
answer
651
views
Can't type backslash (\) with Keyboard library
I'm trying to make a macro keyboard, where I can press a single button and it will open programs for me.
I'm trying to type this, for example: "c:\windows"
but it gets typed out like this: ...
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
1
answer
179
views
Peculiar behaviour of arduino pro micro
I am working with an arduino pro micro and I am facing a peculiar problem. The project I am working with includes arduino MKR NB 1500 as well. I am transferring data from MKR NB 1500 to arduino pro ...
0
votes
1
answer
415
views
Can i use PL2303 USB to TTL Serial Converter Module send keystrokes using Arduino nano?
If I can, which library to use (an example code will be great).
Here is the module:
1
vote
0
answers
76
views
Can ESP32 used for mobile game controller?
I have a term project: I need to develop a mobile game(Guitar Hero Like rhythm game) probably on Unity and I need to develop a custom controller for this game that works on android device. There will ...
1
vote
1
answer
7k
views
ESP8266: #include <Keyboard.h> causes fatal error: HID.h: No such file or directory
OS: Mac
Arduino: 1.8.13
Keyboard Library: 1.0.2
I have a generic ESP8266 board, and I have the following code
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);...
1
vote
2
answers
2k
views
Using Keyboard library for ISO-UK layout
I am creating a keyboard and the PC I use it with is configured for UK so the keyboard layout it expects is this
I've highlighted the ISO-UK vs ANSI-US differences but the only key I am having real ...
3
votes
2
answers
3k
views
Can I use arduino pro micro rx tx as digital pins
I'm using arduino pro micro Atmega32u4 5v 16Mhz
I want to use it to make a HID Keyboard and Mouse but I ran out of pins so I was wondering if I can use the RX and TX pins as digital input pins. Will ...
1
vote
1
answer
109
views
Problems Sending Signals to the Arduino-Uno via Keyboard
I have an Arduino Uno and a usb 2.0 shield in which I connected a keyboard to. I have all the necessary libraries installed but what I am trying to figure out is how to light an led when I press a ...
0
votes
1
answer
928
views
Holding buttons (keyboard)
I made a wireless keyboard, but I just need 4 button for my project: left control, left shift, F1, F2.
The problem: When I hold button - it acts like many key presses and releases, but I need, that ...
1
vote
1
answer
327
views
Why can the Xbox360 not detect the Arduino Leonardo as keyboard?
Arduino Leonardo as keyboard in the computer works! But not with the Xbox360.
The Teensy works perfectly on the PC but how to emulate a keyboard device for the Xbox360.
I know the Xbox360 has ...
0
votes
1
answer
85
views
What are the applicable processor for the ATmega32u4? And what are higher versions of ATmega32u4?
Can arduino uno smd r3 version handle a Keyboard.h library? it is not applicable for that arduino?
-1
votes
1
answer
481
views
Keyboard.write writing ASCII integer value as a String
I have the following code:
#include <SoftwareSerial.h>
#include <Keyboard.h>
SoftwareSerial ttySerial(10, 11); // RX, TX
void setup()
{
// Open serial communications and wait for port ...
1
vote
0
answers
913
views
How to create real-time WASD control over an Arduino Uno?
I am trying to figure out how to use the WASD keys on my computer, to go through the USB cable and then spin the Arduino servos in real-time. So if I press the “a” key, it should start to move left ...
-2
votes
1
answer
2k
views
How to get keyboard input to Arduino from the computer its plugged in to?
I have an Arduino Uno connected to my laptop and I need to get keypress info from the laptop's keyboard
with only the Arduino sketch and without any program running on the laptop.
Is there a specific ...
0
votes
2
answers
1k
views
Arduino HID keyboard does not work
I'm using a ItsyBitsy 32u4, Adafruit says it can act as a USB HID keyboard. The mc is based on the 32u4 which the Keyboard docs say are supported.
I have a simple sketch that prints "A" every second ...
1
vote
1
answer
417
views
Help with Arduino Micro Keypress Algorithm
Greeting, first time Arduino user here.
So I am using the Arduino Micro as an HID keyboard device. It accepts arbitrary input from a Node-JavaScript program I am running (so I have full freedom in in ...