Search:

Type: Posts; User: freemind

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    15,237

    thank you!

    thank you!
  2. Replies
    5
    Views
    15,237

    yes, the problem was I've launched the program...

    yes, the problem was I've launched the program with user privileges, so it couldn't open the device
    with sudo this snippet works
  3. Replies
    5
    Views
    15,237

    sorry, these are my first steps in C and linux...

    sorry, these are my first steps in C and linux programming)
    i'm just trying to run the example in kernel manual



    int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
    if (fd == -1) {
    ...
  4. Replies
    5
    Views
    15,237

    uinput module keyboard events

    hi, i'm trying to emulate keypress with uinput kernel module.
    i've found this code snippet in documentation 7. uinput module — The Linux Kernel documentation


    #include <linux/uinput.h>

    void...
Results 1 to 4 of 4