Questions tagged [keyboard]

A text input device. Utilize this tag to ask programming questions regarding reading input from it or blinking the lights, etc.

128 questions
5
votes
1 answer

Keyboard.h not found

I keep getting this error message: "'Keyboard' not found. Does your sketch include the line '#include '?" ... when I have already included Keyboard.h. #include void setup() { pinMode(3,INPUT_PULLUP); …
chin hui
  • 53
  • 1
  • 1
  • 3
2
votes
0 answers

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 VCC CLK DATA I have wired up the GND to the ground…
Davy Vos
  • 21
  • 2
2
votes
0 answers

Atmel studio 7 with Arduino Uno: Just upgraded to Atmel studio 7 and my target platform is the Arduino Uno

Atmel studio 7 with Arduino Uno: Just upgraded to Atmel studio 7 and my target platform is the Arduino Uno. I can't get past the start procedure: Firstly on starting up I get Sequence contains no elements (first image below). Then after pressing…
1
vote
1 answer

Save highlighted text as int variable

I build a macro keyboard and one thing I do alot is add a set amount to numbers mostly in 3d modeling programs. I add and remove 0.25 and 0.125 all the time. I want to make a macro that copies selected text, adds or subtracts a value then pastes it…
1
vote
1 answer

Arduino Leonardo keyboard.print keeps printing equal sign

I am currently working on a DIY controller for Train Sim World. I am relatively new to the Arduino and the C programming language. My code is structured to look for button presses or PS2 joystick inputs and print a specific character for each…
Luca T
1
vote
1 answer

Emulate non-standard keyboard from Arduino

I want to emulate keyboard presses in an old C64 microcomputer using an Arduino. The keyboard connection is a non-standard 20-pin port (i.e. the Arduino keyboard libraries won't be useful) which, as I understand, works as a simple matrix of…
dust
  • 111
  • 1
1
vote
2 answers

16 by 8 Keyboard matrix

I am working on a project, trying to construct an 80 button keypad. My problem is how to multiplex it so that i only feed the arduino with two sets of BCD or binary(whichever is easier) which are supposed to drive a 75 led display board…
Moscar
  • 11
  • 2
1
vote
1 answer

Using Arduino To Control Boot Sequence of PC

I want to know if it is possible to use an arduino to tell a pc which os to boot to. I know It is possible to turn on the pc by wiring it to the motherboard pins with the power switch, and I know the arduino I have…
0
votes
1 answer

Why does keyboard.h add 136 to each key?

I want to create a custom keyboard mapping in the official arduino keyboard library Why do the key definitions add 136 to each number? See Keyboard_es_ES.h on github #define KEY_MASCULINE_ORDINAL (136+0x35) #define KEY_INVERTED_EXCLAMATION…
spuder
  • 111
  • 1
  • 7
0
votes
1 answer

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 when I press & hold button - it also acts like I…
0
votes
2 answers

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 and should press "A". When I upload the sketch and…
everett1992
  • 101
  • 2
0
votes
1 answer

Interacting with a video game - Keyboard & LUFA

I have an Uno and Leonardo that I am trying to have it interact with the GTA V video game. Using the Keyboard library, it works within the OS. But it ocassionally works within the GTA V process. It seems that the transfer speed may be too slow, as…
O.J.
  • 103
  • 2