No description, website, or topics provided.
Objective-C C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
QuantMyLife.xcodeproj
QuantMyLife
art
scripts
.gitignore
.gitmodules
Cakefile
LICENSES.html
README.md

README.md

Overview: see quantmylife.com

Signal Formats

// initial utc_ms_delta: 0
uvarint(utc_ms_delta) + uvarint(payload.length) + payload

front-app

payload = JSON({"pid": 123, "app": "com.example.Foo"})

(only log when there's a change)

front-thing

payload = JSON({"url": "file://localhost/Users/satoshi/Desktop/foo.txt"})

(only log when there's a change)

input-idle

payload =
    0x01 for BECAME_ACTIVE
    0x02 for BECAME_IDLE

(only log when there's a change)

mouse-position

// initial x, y: 0
payload = uvarint(x_delta) + uvarint(y_delta)

(only log when there's a change)