Skip to content

Instantly share code, notes, and snippets.

@regular-dev
regular-dev / uncrustify.cfg
Created December 8, 2021 12:36
Uncrustify for CPP
# Uncrustify 0.60
#
# General options
#
# The type of line endings
newlines = auto # auto/lf/crlf/cr
# The original size of tabs in the input
input_tab_size = 4 # number
# The size of tabs in the output (only used if align_with_tabs=true)
output_tab_size = 4 # number
@regular-dev
regular-dev / main.cpp
Created October 24, 2019 09:29
Uinput Mouse Click and movement
#include <iostream>
#include <unistd.h>
#include <fcntl.h>
#include <sstream>
#include <cstring>
#include <stdlib.h>
#include <stdio.h>
#include <linux/uinput.h>