Skip to content

Instantly share code, notes, and snippets.

View ryan-mcclue's full-sized avatar
🇦🇺

Ryan McClue ryan-mcclue

🇦🇺
View GitHub Profile
@ryan-mcclue
ryan-mcclue / simulate-input.c
Created October 26, 2021 09:30
Simulate Key Presses
// SPDX-License-Identifier: zlib-acknowledgement
#include <linux/uinput.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <stdlib.h>
@ryan-mcclue
ryan-mcclue / functions.asm
Last active October 13, 2022 04:46
comp9032 lab3 task3
.include "m2560def.inc"
.cseg
.org 0x0000
jmp reset
.org 0x0008
jmp int0_isr
int0_isr:
reti