      */
     
     var ctr = 6 // used for determining speed of gyroscope
-    
     func selectMovement() {
         if (ctr > 2) { // prevent integer overflow
             ctr -= 1

    }
    
    func updateSelectionDisplay() {
//        let text = keyboardRows[selectedRowIndex][selectedCharIndex]
        let symbol = keyboardRows[selectedRowIndex][selectedCharIndex]
        selectionDisplay.text = symbol
        selectionDisplay.backgroundColor = rowColors[selectedRowIndex]

    let speechSynthesizer = AVSpeechSynthesizer()
    
    func isGyroAvailable() {
        if manager.isAccelerometerAvailable {
            manager.startAccelerometerUpdates()
            manager.accelerometerUpdateInterval = 0.1
            if (manager.isAccelerometerActive) {
                Timer.scheduledTimer(timeInterval: 0.1, target: self, selector: #selector(KeyboardViewController.selectMovement), userInfo: nil, repeats: true)
            } // else did not activate gyro and motion update properly
        }// else Keyboard won't work for this device.
    }
    
    /*
