                     "keyGap%dx%d",
                     row: i,
                     startIndex: 2,
-                    endIndex: keyboard.rows[i].count - 2,
+                    endIndex: rowsCount - 2,
                     vertical: false,
                     width: layout["keyGap"]!)
             }

    "debugWidth": 2
]

// shift/backspace: 72x78, but shrinks to 48x78
// lower row: 68x78, 100x78, 276



import UIKit

let layout: [String:Double] = [
    "leftGap": 3,
    "rightGap": 3,
    "topGap": 9,
