Questions tagged [keyboard]

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

2
votes
1answer
55 views

How to map rpi-zero hid-gadget from us to german?

I’ve tried to map my RPI Zero HID-Gadget in a sh file, here is my sh file. I tried to exchange a normal german keyboard by swapping kbcodes from us-keyboard to german-keyboard layout, but if it is ...
1
vote
0answers
37 views

Getting button click type

I've been looking for a while to how to get the kind of click of a button on GPIO. Is it a single click? Double? Triple or more? Is it a long click? a very long click? a combination of them? I haven'...
1
vote
0answers
17 views

Raspberry pi zero as keyboard controlled over wifi possible?

Hello I want to have a pi zero W create a wifi hotspot(no internet connection). I then want to connect to the wifi hotspot and ssh into the pi. From there i want it to send keystrokes as a HID ...
2
votes
1answer
27 views

What's the layout of the official Raspberry Pi keyboard (GB)?

I bought one from the Pi Hut (with a GB layout). I made the mistake of changing keyboard layout to generic 105 keys and now nothing at all happens when I type. Nor does the mouse, which is plugged ...
0
votes
0answers
86 views

Using Raspberry Pi 3 as a Keylogger

I have a raspberry pi 3 model B, a barcode scanner, and my laptop. what I want to do is simply using the pi as a keylogger or listener between the laptop and the barcode scanner, so whenever I scan an ...
2
votes
0answers
40 views

Detecting “No Mouse Movement” in python on Raspberry Pi

So this is going to be a bit confusing but using a basic loop i can detect keyboard and mouse inputs using the following: globals()['keyboardEvent'] = evdev.InputDevice('/dev/input/event0') globals()...
3
votes
1answer
58 views

Keyboard and mouse don't work in GUI

I've tried to include as much information as possible, but if it isn't relevant I will remove it. I purchased a Raspberry Pi 4 months ago, and I've been using it to run some CRON jobs. I have a ...
1
vote
1answer
48 views

RPi Zero W as HID keyboard disconnects after connecting

So, I have configured and reconfigured the Pi Zero multiple times now for it to behave like a HID keyboard. It appears as a keyboard as well, but as soon as it is connected, it gets disconnected. ...
0
votes
0answers
26 views

pi 3 boots to display no usb keyboard or mouse

Sorry if this is a dumb question. I am trying to get my Pi 3 working, it is an old one and I am sure that it has been working in the past with OSMC. My laptop is running mint 19.1, I used Etcher to ...
0
votes
0answers
29 views

How to make a virtual keyboard working like a tablet keyboard

Can some please give me the answer of how to make a matchbox keyboard working like a keyboard on a tablet? For instance if you want to fill in a web address in the browser. The virtual keyboard ...
0
votes
0answers
24 views

Disable Control-Alt-D in window manager

It is taken by the window manager to minimise all windows. I need that shortcut for my own application. I don't find it: cat /etc/xdg/openbox/rc.xml | grep C-A- Does not list anything bound to ...
0
votes
0answers
23 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
29 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
238 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
11 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
67 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
532 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
33 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
94 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
2answers
77 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
121 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
189 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
784 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
101 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 ...
1
vote
1answer
124 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
99 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
2answers
472 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
29 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
299 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
289 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
469 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 ...
3
votes
1answer
4k 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 ...
1
vote
1answer
5k 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
1answer
438 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
595 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 ...
1
vote
0answers
337 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
142 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
308 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
529 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
96 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
51 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
1k 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
569 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
102 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
410 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
352 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
849 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
160 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 ...