Skip to content

Instantly share code, notes, and snippets.

@bhupiister
bhupiister / absmouse.c
Last active January 29, 2026 01:03 — forked from lyc8503/absmouse.c
eGalaxTouch absolute mouse
#include <linux/uinput.h>
#include <linux/input.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <unistd.h>
@lyc8503
lyc8503 / absmouse.c
Created November 4, 2024 15:29
Android absolute mouse
/*
* Android (and Linux X11) can't handle absolute position HID events from mouse
* https://www.codeproject.com/Articles/1001891/A-USB-HID-Keyboard-Mouse-Touchscreen-emulator-with
*
* This program read these ABS_X & ABS_Y events from /dev/input/eventX, and emulate a touchscreen/stylus via linux uinput, so an "absolute" mouse can work.
* Example of "absolute" mouse: PiKVM, or some other mouse-emulating hardware (e.g. https://detail.tmall.com/item.htm?id=684263217981)
*/
#include <linux/uinput.h>
#include <stdio.h>
@Micrified
Micrified / mpu6050.c
Created March 2, 2020 19:13
Source file for the MPU-6050 ESP32 wrapper
#include "mpu6050.h"
/*
*******************************************************************************
* Global Variables *
*******************************************************************************
*/
@Micrified
Micrified / mpu6050.h
Created March 2, 2020 19:12
Header file for the MPU-6050 ESP32 wrapper.
/*
*******************************************************************************
* (C) Copyright 2020 Micrified *
* Created: 27/02/2020 *
* *
* Programmer(s): *
* - Charles Randolph *
* *
* Description: *
* MPU-6050 interface for the ESP32 I2C driver *
@Try-Parser
Try-Parser / AndroidEmulator.md
Last active January 7, 2026 13:09
Running emulator without Android Studio in Windows With Flutter

Android Emulator Setup without Android Studio in Windows with Flutter

First Download the Android SDK Commandline Tool only.

https://developer.android.com/studio/

Goto Download Options

Find Commandline tools only Section