Skip to content

Instantly share code, notes, and snippets.

View rM-self-serve's full-sized avatar

reMiss rM-self-serve

View GitHub Profile
@rM-self-serve
rM-self-serve / last_doc.py
Last active October 22, 2024 09:13
Select Last Document for rM1. Only tested on v2.10
#!/usr/bin/env python
import struct
import os
import time
import base64
from io import BytesIO
# data gathered from recording /dev/input/event2 while swiping down
# from top of screen with two fingers, then clicking last document