         buttonToFinger[rightThumbFingerButton!] = Finger(side: .right, name: .thumb)
         
         updateKeyLabels()
-        
+
         // Set up Settings Slide-in
         settingsOverlay.isHidden = true
         keyboardSizeStepper.maximumValue = 4

        get { return textDocumentProxy as UITextDocumentProxy }
    }
    
    var buttonToFinger = [UIButton: Finger]()
    
    var heightConstraint: NSLayoutConstraint!
    var keyboardHeight:CGFloat = 400
    
    var shiftKeyActive = false {
        didSet {
            shiftButton.setImage(UIImage(named: shiftKeyActive ? "Shift - filled" : "Shift"), for: UIControlState())
        }
    }
    
    var fingersPressed = Set<Finger>()
    
    override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {


class KeyboardViewController: UIInputViewController {
    
    // MARK: UI Components
    @IBOutlet weak var leftPinkyFingerButton: UIButton!
    @IBOutlet weak var leftRingFingerButton: UIButton!
    @IBOutlet weak var leftMiddleFingerButton: UIButton!
    @IBOutlet weak var leftIndexFingerButton: UIButton!
    @IBOutlet weak var leftThumbFingerButton: UIButton!
    @IBOutlet weak var rightIndexFingerButton: UIButton!
    @IBOutlet weak var rightMiddleFingerButton: UIButton!
    @IBOutlet weak var rightRingFingerButton: UIButton!
