Skip to content

developakr/GamePi43---Waveshare-mouse-control-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This script transforms the GamePi43 handheld console into a virtual input device, emulating both a mouse and a keyboard. It is designed to allow users to navigate the operating system interface using only the console's physical buttons.

Key Features: Input Emulation: Uses the uinput library to create a virtual mouse and keyboard that the OS recognizes as standard hardware.

Dual-Mode Control: The START button acts as a modifier to switch between two modes:

Mouse Mode (Default): The D-pad moves the cursor, while the TL and TR (shoulder buttons) perform left and right clicks.

Keyboard Mode (Holding START): The D-pad functions as standard arrow keys (UP, DOWN, LEFT, RIGHT).

Virtual Keyboard Integration: Pressing the HK (HotKey) button toggles the Onboard screen keyboard. The script automatically manages the display environment variables to ensure the keyboard appears on the correct screen.

Efficient Handling: Includes button debouncing and utilizes internal pull-up resistors to ensure stable input signals from the Raspberry Pi GPIO pins.

About

GamePi43 - Waveshare mouse control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages