epmoyer / oga_controls

Adds support for keyboard and mouse emulation using rk3326 device game controls. Originally authored by Kris Henriksen.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oga_controls (formerly AnberPorts-Joystick from krishenriksen with additions from johnirvine1433's ThemeMaster-Joystick

Emulated keyboard / mouse / joystick for the RGB10/OGA 1.1 (BE), RG351 P/M/V, RK2020/OGA 1.0, OGS, and the Chi

How to build

Prereqs

libevdev-dev

Build

git clone https://github.com/christianhaitian/oga_controls.git -b universal
cd oga_controls
make all

Howto

Launch with sudo ./oga_controls your-program your-rk3326-device. Ex. sudo ./oga_controls bgdi oga

Allowed rk3326-device values = anbernic, chi, oga, ogs, rk2020

The your-program field is to provide support for force quitting a running app using assigned hotkeys. For instance, using the minus key + start will force quit your-program on the rgb10.

/etc/udev/rules.d

SUBSYSTEM=="misc", KERNEL=="uinput", MODE="0660", GROUP="uinput"

Support the project

Become a sponsor to Kris Henriksen

About

Adds support for keyboard and mouse emulation using rk3326 device game controls. Originally authored by Kris Henriksen.

License:GNU General Public License v2.0


Languages

Language:C 99.7%Language:Makefile 0.3%