Questions tagged [uinput]

uinput is a user level input subsystem. Basically it is a linux kernel module that allows to handle the input subsystem from user land

uinput is a user level input subsystem. Basically it is a kernel module that allows to handle the input subsystem from userspace. It can be used to create and to handle input devices from an application. It creates a character device in /dev/input directory. The device is a virtual interface, it doesn't belong to a physical device.

Once the uinput module is installed (via modprobe or insmod), a character device is created, named as /dev/input/uinput (or /dev/uinput on some systems). This device represents the interface between the application and the kernel input subsystem.

52 questions
0
votes
1 answer

Two xscreens uinput multitouch device, wrong coordinates on second x screen

First of all hi, this is my first question in stackoverflow :) The hardware setup is 2 x nvidia gtx980 GPUs each connected to 3 monitors. The videowall is arranged as one row of 6 monitors. We are using the propietary nvidia drivers. The xserver…
lojkoro
  • 11
  • 2
0
votes
5 answers

use /dev/uinput to simulate touch event in Android don't work

I try to use /dev/uinput to simulate touch event in Android, some code like this: first open "/dev/uinput" file, and create an udev: static int open_uinput_device(){ uinp_fd = open(uinput_deivce_path, O_WRONLY | O_NDELAY); if (uinp_fd <= 0) { …
caihanyuan
  • 23
  • 1
  • 4
0
votes
1 answer

Creating Macros With Python interfacing with Libinput

I'm running Fedora 22; and I'm trying to create a very simple keyboard macro script with uinput that will work across display servers (and in console). Following this post I figured out how to do this successfully in console and with evdev; However…
Cestarian
  • 232
  • 4
  • 10
0
votes
1 answer

Error when building program that uses libusb on Raspberry Pi 2 B

I am using Raspbian on a Raspberry Pi 2 B with a build-from-source libusb (version 1.0.18 if you're curious). I am trying to build this program on the Pi, but it gives the follow error: cc -c -o wii-u-gc-adapter.o wii-u-gc-adapter.c -Wall -Wextra…
Ertain
  • 67
  • 11
0
votes
1 answer

uinput virtual device and /dev/input/mice

I have created a virtual mouse by writing data in /dev/uinput. However it seems that the data are not the same in /dev/input/eventX (where my mouse is) and /dev/input/mice. I don't use another mouse. How is this thing possible?
anothertest
  • 979
  • 1
  • 9
  • 24
0
votes
0 answers

Bluestacks Uinput with Tincore

I'm using Bluestacks and tincore does not recognize my mouse as a pointer as I do not have UINPUTS. Anyway I can add UINPUTS module to bluestacks? Context is that I am trying to use tincore in bluestacks and have my mouse show up as a pointer. …
Mu Man
  • 21
  • 3
0
votes
1 answer

Bad type conversion in android ndk

I want my Android application to create a fake virtual device, to achieve this the device needs to be rooted and uinput module is needed. I am using the following code to create the device, calling static{ System.loadLibrary("myModule");…
Vektor88
  • 4,841
  • 11
  • 59
  • 111
1 2 3
4