Script to type on the keyboard using up/down/left/right:

# coding: utf-8 import roku, time r = roku.Roku('') keylist = [ ['a','b','c','d','e','f','g'], ['h','i','j','k','l','m','n'], ['o','p','q','r','s','t','u'], ['v','w','x','y','z','-','\''], [' '],] keymap = {} for y in range(len(keylist)): for x in range(len(keylist[y])): key = keylist[y][x] keymap[key]=(x, y) def type(string): for l in string.lower(): x, y = keymap[l] for _ in range(x): r.right() for _ in range(y): r.down() for _ in range(x): r.left() for _ in range(y): r.up() while 1: type(raw_input())

It was designed for the YouTube app's size keyboard. Resets the cursor to 'a' every time, but the version that didn't failed miserably. Still experimental.