Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kivy USB Keyboard Double Typing Letters

I have a Raspberry Pi 3 that is running an application using Kivy. There is a USB keyboard connected to allow text input within the application. Every time I type in a text box the letters are double typed. If I press and hold a key, the letter will double type as well. Outside of the application, the keyboard works normally (does not double type letters). It also works normally if I run the application on my PC. How do I prevent my keyboard from double typing within the application?

like image 770
Claire Avatar asked Jan 17 '17 15:01

Claire


People also ask

Why is my keyboard doubling letters?

Your keyboard driver might be outdated or corrupt which is why there are some communication issues between the keyboard and the PC. To fix it, you should update the driver: Right-click Start > Device manager. Extend the Keyboard menu.

Why is my keyboard typing double letters Windows 10?

Outdated keyboard drivers on your Windows machine might affect the keyboard performance, and sometimes, you might end up with the keyboard typing multiple letters on Windows 10. You need to update the keyboard drivers to the latest version available.

How do I enable virtual keyboard in KIVY?

The instantiation of the virtual keyboard is controlled by the configuration. Check keyboard_mode and keyboard_layout in the Configuration object. If you intend to create a widget that requires a keyboard, do not use the virtual keyboard directly, but prefer to use the best method available on the platform.


1 Answers

The config.ini file for kivy had an error. This file was located in the .kivy folder.

Previously under the input section we had the following lines:

[input]
mouse = mouse
mtdev_%(name)s=probesysfs,provider=mtdev
hid_%(name)s=probesysfs,provider=hidinput
%(name)s=probesysfs,provider=hidinput

Removing the last line shown above solved the double typing error.

like image 166
Claire Avatar answered Oct 21 '22 03:10

Claire