Community Curator/Source/TSKeyboard1

function Key.Tap(TX, TY) local TRec = TRec local RV="" local L1, L2, L3, L4 = SY-128, SY-96, SY-64, SY-32 local X1, X2, X3, X4 = L2-2, L3-2, L4-2, SY-2 local LS = 4 local Q = TRec(2, L1, 40-LS, X1, TX, TY) local W = TRec(42-LS, L1, 80-(LS*2), X1, TX, TY) local E = TRec(82-(LS*2), L1, 120-(LS*3), X1, TX, TY) local R = TRec(122-(LS*3), L1, 160-(LS*4), X1, TX, TY) local T = TRec(162-(LS*4), L1, 200-(LS*5), X1, TX, TY) local Y = TRec(202-(LS*5), L1, 240-(LS*6), X1, TX, TY) local U = TRec(242-(LS*6), L1, 280-(LS*7), X1, TX, TY) local I = TRec(282-(LS*7), L1, 320-(LS*8), X1, TX, TY) local O = TRec(322-(LS*8), L1, 360-(LS*9), X1, TX, TY) local P = TRec(362-(LS*9), L1, 400-(LS*10), X1, TX, TY)

local A = TRec(2, L2, 40, X2, TX, TY) local S = TRec(42, L2, 80, X2, TX, TY) local D = TRec(82, L2, 120, X2, TX, TY) local F = TRec(122, L2, 160, X2, TX, TY) local G = TRec(162, L2, 200, X2, TX, TY) local H = TRec(202, L2, 240, X2, TX, TY) local J = TRec(242, L2, 280, X2, TX, TY) local K = TRec(282, L2, 320, X2, TX, TY) local L = TRec(322, L2, 360, X2, TX, TY)

local Shift = TRec(2, L3, 40, X3, TX, TY) local Z = TRec(42, L3, 80, X3, TX, TY) local X = TRec(82, L3, 120, X3, TX, TY) local C = TRec(122, L3, 160, X3, TX, TY) local V = TRec(162, L3, 200, X3, TX, TY) local B = TRec(202, L3, 240, X3, TX, TY) local N = TRec(242, L3, 280, X3, TX, TY) local M = TRec(282, L3, 320, X3, TX, TY) local Back = TRec(322, L3, 360, X3, TX, TY)

local Space = TRec(2, L4, 200, X4, TX, TY) local SL = TRec(202, L4, 232, X4, TX, TY) local SR = TRec(290, L4, 320, X4, TX, TY) local Enter = TRec(322, L4, 360, X4, TX, TY)

--Numberpad local K9 = TRec(362, L1, 400, X1, TX, TY) local K8 = TRec(402, L1, 440, X1, TX, TY) local K7 = TRec(442, L1, 480, X1, TX, TY)

local K6 = TRec(362, L2, 400, X2, TX, TY) local K5 = TRec(402, L2, 440, X2, TX, TY) local K4 = TRec(442, L2, 480, X2, TX, TY)

local K3 = TRec(362, L3, 400, X3, TX, TY) local K2 = TRec(402, L3, 440, X3, TX, TY) local K1 = TRec(442, L3, 480, X3, TX, TY)

local K0 = TRec(362, L4, 400, X4, TX, TY) local Ca = TRec(402, L4, 440, X4, TX, TY) local KSlash = TRec(442, L4, 480, X4, TX, TY) if A then RV="A" elseif B then RV="B" elseif C then RV="C" elseif D then RV="D" elseif E then RV="E" elseif F then RV="F" elseif G then RV="G" elseif H then RV="H" elseif I then RV = "I" elseif J then RV = "J" elseif K then RV = "K" elseif L then RV = "L" elseif M then RV = "M" elseif N then RV = "N" elseif O then RV = "O" elseif P then RV = "P" elseif Q then RV = "Q" elseif R then RV = "R" elseif S then RV = "S" elseif T then RV = "T" elseif U then RV = "U" elseif V then RV = "V" elseif W then RV = "W" elseif X then RV = "X" elseif Y then RV = "Y" elseif Z then RV = "Z" elseif K0 then RV = "0" elseif K1 then RV = "1" elseif K2 then RV = "2" elseif K3 then RV = "3" elseif K4 then RV = "4" elseif K5 then RV = "5" elseif K6 then RV = "6" elseif K7 then RV = "7" elseif K8 then RV = "8" elseif K9 then RV = "9" elseif KSlash then RV="/" elseif Enter then RV="Enter" elseif Back then RV="Back" elseif Space then RV="Space" elseif Shift then RV="Shift" elseif Ca then RV="Ca" elseif SL then RV="SL" elseif SR then RV="SR" else RV = "History" end return RV end