Skip to content

Instantly share code, notes, and snippets.

@matthewaveryusa
matthewaveryusa / grab_io_kbm.c
Created May 20, 2016
linux grab io from keyboard and mouse
View grab_io_kbm.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <linux/input.h>
#include <time.h>
#include <stdint.h>
int main(int argc, char* argv[]){
sleep(1);