Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [keyboard]

A keyboard allows a user to send characters to the Raspberry Pi, a common input device.

0
votes
0answers
10 views

Python keyboard package not responding through VNC

I have a simple python program that responds to keyboard presses using the package keyboard: import keyboard import time def catch_key( event ): print( "Key pressed:" + event.name ) def propel()...
0
votes
0answers
10 views

Prepare SD card for auto-pairing with bluetooth keyboard

I already own a bluetooth keyboard, and want to use it with my newly ordered Pi Zero W. I don't want to buy a USB keyboard just for bootstrapping. Given the bluetooth MAC address of my keyboard, and ...
0
votes
0answers
21 views

Raspberry Pi mouse and keyboard not working

So last night I was using my Raspberry Pi just fine but my internet didn't work so i fixed it with sudo apt-get update and sudo apt-get upgrade. This morning I plugged it in and neither the mouse nor ...
0
votes
0answers
6 views

Cant configure controller after selecting it

I’m trying to boot my retropie for the first time. It says “Hold a button on your device to configure it.” I hold a button on my keyboard and the bottom says keyboard but it never takes me to the ...
0
votes
0answers
22 views

Use Raspberry Pi as bluetooth keyboard

I'm wanting to do a project with a Raspberry Pi acting as a Bluetooth keyboard and/or mouse. The Pi would be connected to a touchscreen display, and I would have a virtual keyboard on the screen that ...
0
votes
1answer
46 views

Trouble Connecting Bluetooth Keyboard After updating and upgrading Raspbian

I recently updated and upgraded my raspberry pi 3 b+, and now my Logitech keyboard K480 will not connect. It was working fine until this happened. I'm looking for any tips to see what I'm doing wrong/...
0
votes
1answer
30 views

How to change keyboard layout on terminal based os? [duplicate]

I cannot type (-) on my raspberry pi with omv os installed. I know I could before
0
votes
0answers
34 views

Relay Bluetooth keyboard out as a USB keyboard

I have a bluetooth keyboard that's originally connected to my desktop PC. The problem is that I can't use it in BIOS or to select different boot options at grub because the bluetooth drivers aren't ...
1
vote
1answer
61 views

Control Terminal from smartphone

I am using a raspberry pi 2 with raspbian lite, and I wanted to have keyboard control from my phone. So if I hook up my pi to the TV, I can type commands on my phone without needing to connect a ...
0
votes
1answer
73 views

Execute service or script via hotkey

I use Raspbian lite. I'm trying to map a hotkey to start the service or a script. I do not use a graphical user interface, only a text console with a local attached display. I'm not using ssh. I ...
0
votes
1answer
83 views

How to change keyboard without using raspi-config?

I have HypriotOS running which is a Raspbian Stretch version uname -a Linux test 4.14.34-hypriotos+ #2 Sun APr 22 15:29:32 UTC 2018 armv61 GNU/Linux lsb_release No LSB modules are available. ...
0
votes
1answer
323 views

Stream Deck Using PI 2

I have a RPi2 1gb. I've recently got a touch screen for it and have decided that I actually should use it for what it was intended for. Programming! So my adventure starts here. I want to make a ...
1
vote
0answers
82 views

Raspberry pi 3 B+ running NOOBS keyboard and mouse doesn’t work

When I boot my raspi, it works fine. Booted NOOBS and it was good. But when I tried raspbian, the keyboard and mouse stopped working, and wouldn’t let me past the login screen! My pi was working a ...
0
votes
0answers
57 views

Usb hub on keyboard not working PI-ZERO

I have been trying to figure this out for a while now and I can't find an answer I connected a usb keyboard with a built in hub to my PI-ZERO and it won't detect a mouse through the hub I have tested ...
1
vote
1answer
90 views

How to use two keyboard layouts in Raspbian

I am using Raspbian 9 (Stretch) and I want to use both English and Persian keyboard layouts at the same time. Right now I have to go to the preferences every time I need a keyboard layout shift. Is ...
0
votes
0answers
69 views

Does anyone know how to simulate keystrokes on a raspberry pi with code?

I would like to replicate this code, but on a raspberry pi. It imports for windows. Does anyone know of a library or anything that could help? https://stackoverflow.com/questions/13564851/how-to-...
1
vote
1answer
365 views

Raspberry Pi USB hub can't connect keyboard and mouse at same time

I bought a cheap USB hub for a Raspberry Pi Zero: USB hub from AliExpress The problem is that I can't plug in the keyboard and mouse at the same time. Just one device is working and at one specific ...
0
votes
1answer
28 views

Raspberry pi not sensing my keyboard and mouse!

I accidentally spilled some water on the raspberry pi board, and it switched off and the HDMI stopped working.. I dried the board and connected it again, now everything was working fine except for a ...
2
votes
1answer
195 views

Is it possible to send 'left arrow' to the OMXPlayer console?

I'm building a MP3 player with physical buttons using a Raspberry Pi and Python. I'm using the subprocess library to allow simultaneous actions without blocking user input. I'm sending commands to ...
1
vote
1answer
182 views

Keyboard stopped working, mouse still works

My wired keyboard randomly stopped working on my Raspberry Pi 3 after working fine for two weeks. My wired mouse still works fine. I've tried swapping both into all 4 ports and the mouse works in ...
0
votes
1answer
313 views

Thunder bolt icon appears, Pi boots, Keyboard does not work. What could be wrong?

I have a new Raspberry Pi 3 Model B. It has been working fine with the keyboard and mouse. I have ran rpi-update since purchasing it and it continued to work fine after that. I have tried starting the ...
0
votes
0answers
49 views

Conflict between Apple bluetooth mouse and keyboard

I have successfully paired my Magic Mouse and Magic Keyboard to RPi0W using the typical bluetooth pairing workflow: sudo bluetoothctl and then: power on agent on # "agent KeyboardOnly" for the ...
2
votes
1answer
3k views

Use Raspberry Pi as keyboard/mouse output to control server

I want to connect to a RPi thought LAN (possibly with VNC) and have it controlling a server that is connected to the RPi by USB. Basically the RPi would have to send every keystroke/mouse movement to ...
0
votes
0answers
43 views

Can I make a 2 button keyboard using Raspberry Pi?

I would like to make a simple 2 button keyboard. It is intended for use for a game called "Osu!" where you have to press "Z" and "X" in the game. I'm pretty much a beginner, by the way. I was ...
1
vote
1answer
3k views

Virtual on-screen keyboard for raspberry pi touch screen

The following is simple code that accepts a line of text from a user: from tkinter import * from tkinter import ttk root= Tk() entry= ttk.Entry(root, width=30) entry.pack() I am running this ...
3
votes
5answers
2k views

Is it possible to produce a pipe “|” with a US keyboard and the vanilla Raspbian?

I am developing a replacement for the /sbin/init process that will run 1 time and then remove itself from the system. During development I need to be able to do some debugging. I have no SSH (or ...
0
votes
0answers
103 views

Reconnect Pi to iPhone via bluetooth on boot

I have a pi3 that I am trying to use as a bluetooth keyboard to send keys to an iPhone. I have the configuration set up as given in this guide. http://yetanotherpointlesstechblog.blogspot.com.au/2016/...
0
votes
1answer
351 views

Use RFID reader AND a 4x4 matrix keypad with breadboard

I am trying to set up a pi to use rfid to scan a card and if the card is correct, the user will enter in a 4 digit code into a 4x4 matrix keypad. Each device works perfectly fine independently however ...
2
votes
1answer
443 views

Monitoring Keyboard without Monitor

Working on a project that uses a little keyboard and an E-ink display. I have tried a couple of keyboard packages for python (pynput, pyxhook) and have written/tested simple keystroke loggers that ...
0
votes
0answers
272 views

Redirect a USB Keyboard to Stdin

I am wanting to run a Python script that constantly loops for input on a keyboard (its actually and RFID HID). The script will be run on startup, but the Raspberry Pi will be headless. How can I ...
0
votes
0answers
122 views

Raspberry Pi 3 with CentOS no SSH without a keyboard

I installed CentOS 7.4 (1708) Minimal on a fresh Raspberry Pi 3 without issues. But I am struggeling with SSH connections, although each time the network is reachable from the Raspberry: If a ...
1
vote
0answers
272 views

no /etc/kbd in stretch lite?

I'm setting up a RPi 3 with stretch lite on top of which I've further installed the Raspberry Pi Desktop following this guide. All is working fine, but as I went on to enable the numerical keypad of ...
1
vote
0answers
459 views

How can i emulate a ps/2 keyboard with raspberry pi3

So I am working on an medical machine which runs on microcontroller(So,No OS).It gets the input from ps/2 keyboard. I would like to automate it. I would like some basic idea and some help on how to do ...
0
votes
1answer
23 views

2.4G keyboard with rasbain on v pi 2 model b

I have a raspberry pi model b. I installed rasbain form here. it was the minimal option. when it booted everything was ok. I plugged in my normal USB cord keyboard and it did not see it. Also my 2.4G ...
0
votes
1answer
88 views

Running SDL app via RealVNC with Direct Capture enabled does not accept Keyboard input

I am trying to run and SDL hardware-accelerated app, PICO,-8 over VNC, and thanks to this community I am making progress! One solution is to use RealVNC with the experimental DirectCapture feature ...
1
vote
1answer
48 views

Connect Pi to computer and be recognized as a keyboard and mouse

I would like to connect the Pi to my computer (through USB?) and have the computer think that it is a keyboard and mouse. This should be a completely external thing. The end project I am working on ...
0
votes
1answer
890 views

Change default en_GB to en_US (cannot type a pipe key)

Running localectl status I see that my locale is LANG-en_GB bla bla bla I'm trying to pipe ls output to more (ls --help | more) but the when I use the pipe key I get some another character. (Pipe ...
2
votes
0answers
360 views

Why does the keyboard interrupt not work? [closed]

The code below runs on boot via this command in the /etc/rc.local file: python3 /home/pi/Desktop/booth.py. When a button is pressed, the PiCamera preview begins, which covers my whole monitor screen ...
1
vote
0answers
87 views

No key binding on login

I have a Raspberry Pi 3, running Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux I use LXDE. However, on reboot and login, my keymap is not properly loaded. For ...
0
votes
1answer
304 views

Change keyboard language using desktop icon

I need a way for call agents to be able to change keyboard layout to the language they need via dedicated desktop shortcut icons. E.g. Chinese agent double-clicks icon "chinese language" and he gets ...
0
votes
1answer
325 views

Raspbian, Hanns.G HT231HPB and chromium browser

I am using the set up above as a dumb terminal/kiosk my issue is that the Chromium on screen keyboard is offsetting the touch so that you can't accurately type. I know the monitor is operating as a ...
0
votes
1answer
510 views

configure azerty keyboard for (light) Raspbian Stretch

How to configure keyboard in azerty in light version as setxkbmap is not known ? How to make it really persistent ?
0
votes
1answer
125 views

Apple keyboard Caps Lock LED doesn't light up though caps *are* locked

I have an Apple keyboard (French disposition) that's always worked in all the GNU/Linux distributions I tried (Fedora, Ubuntu, Mint, Arch, Gentoo, Debian). Only with Raspbian do I have issues, the ...
1
vote
0answers
749 views

Dead USB OTG in Pi Zero W

I bought my first Pi, a Raspberry Pi Zero W 1.1 from CanaKit and I am having trouble with its USB port. I tried booting latest Raspbian, Raspbian Lite and Noobs, but in all cases it's the same: no ...
-1
votes
1answer
71 views

What keyboard key does one use for “@” with a Pi? [duplicate]

When I type @ I get " instead. I have tried different keyboards, but this is obviously a Pi issue. Thoughts?
0
votes
1answer
932 views

Reading simultaneous key presses in python command line

How can I detect simultaneous key presses in python running in a headless session, i.e. with no display attached? My goal is to control two motors in a car by pressing keys on the keyboard. E.g. ...
0
votes
0answers
68 views

Why doesn't the compose key stay enabled?

I set the compose key to be the right logo key using raspi-config. (The compose key allows for easy typing of characters not found on the keyboard, like "ü".) Oddly, the compose key works fine for me ...
1
vote
0answers
63 views

Re-map a “dead” button on remote to something useful in Kodi

I'm a complete noob as regards Linux, but I've got a Pi 3B that's currently only set up to run Kodi under LibreElec. It's actually got three 2.4GHz IR remotes (and a Bluetooth keyboard) connected, and ...
0
votes
0answers
2k views

Pyaudio record audio using non-blocking callback

I am currently trying to make a simple script which records while a key is being pressed. I need to generate some data, so the intention with the script was to prompt the terminal with an sentence, ...
0
votes
1answer
886 views

Login Using Touchscreen

I am using a pi2 with Pixel as an air-gapped computer for secure data entry. In order to ensure that it remains isolated I have covered all the ports and cable jacks. The only input is a camera for ...