From 1634d546d3e941701fdbab211dfa376f334339f1 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 2 May 2024 16:58:35 +0200 Subject: WIP messy pictochat protocol dissector --- experiments/draw/fill | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 experiments/draw/fill (limited to 'experiments/draw/fill') diff --git a/experiments/draw/fill b/experiments/draw/fill new file mode 100755 index 0000000..c0278f3 --- /dev/null +++ b/experiments/draw/fill @@ -0,0 +1,28 @@ +#!/bin/sh +cd "$(dirname "$0")" +. ./lib.sh + +msg_clear +pen +big + +bottom_screen 24 34 + +xdotool mousedown 1 +sleep 0.02 +xdotool mousemove_relative -- 0 -18 +sleep 0.02 + +for line in $(seq 22) ; do + xdotool mousemove_relative -- 230 0 + sleep 0.02 + xdotool mousemove_relative -- 0 2 + sleep 0.02 + xdotool mousemove_relative -- -230 0 + sleep 0.02 + xdotool mousemove_relative -- 0 2 + sleep 0.02 +done + +xdotool mouseup 1 + -- cgit v1.2.3