{ "cells": [ { "cell_type": "markdown", "id": "0297426f", "metadata": {}, "source": [ "# TV Mode Implementation for KidLisp\n", "\n", "This notebook demonstrates how to add `&tv=true` parameter support to disable touch/keyboard input for FF-X1 TV display integration.\n" ] }, { "cell_type": "code", "execution_count": null, "id": "5526158d", "metadata": {}, "outputs": [], "source": [ "%%ac 320 240\n", "# Example iframe URL for FF-X1 TV mode:\n", "# https://prompt.ac/purple§line§scroll?nolabel=true&nogap=true&tv=true\n", "\n", "purple\n", "line \n", "scroll" ] }, { "cell_type": "code", "execution_count": null, "id": "e3b0f2e8", "metadata": {}, "outputs": [ { "ename": "", "evalue": "", "output_type": "error", "traceback": [ "\u001b[1;31mRunning cells with 'Python 3.11.13' requires the ipykernel package.\n", "\u001b[1;31mCreate a Python Environment with the required packages.\n", "\u001b[1;31mOr install 'ipykernel' using the command: '/bin/python3.11 -m pip install ipykernel -U --user --force-reinstall'" ] } ], "source": [ "%%ac 320 240 tv_mode=True\n", "# Testing TV mode - should disable touch/keyboard input\n", "red\n", "box width/2 height/2 100 100 *center" ] }, { "cell_type": "code", "execution_count": null, "id": "d3c7b5b2", "metadata": {}, "outputs": [], "source": [ "%%ac 128 128\n", "(ink rainbow)\n", "(line)\n", "; (wipe)\n", "(melody \"cdefgabagfed\" 320)\n", "; todo: make it so the iframe in aesthetic.py dosn't have to be reloaded\n", "; when the melody changes\n" ] }, { "cell_type": "code", "execution_count": 3, "id": "97707d56", "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "