A French keyboard

18 July 2011

Last week a friend of Callum's tried the game. She is French and has a French laptop. French keyboards have a different layout, which I knew but had never thought about. The first three lessons worked for her. The fourth lesson told her to put her left little finger on A. On her keyboard that key is Q. A is on the top row, where Q is on mine. And where I have the semicolon, she has M.

The problem was in how I wrote the game. I had treated keys and letters as the same thing. The lesson order was a list of letters, the keyboard picture was drawn from letters, and the finger for each prompt was looked up by letter. That only works if everyone has the same keyboard. The lessons are really about positions, like "the key under your left little finger". The letter on that key depends on the keyboard.

I spent most of the week changing this. Each keyboard now has a description that says which letter is at which position, and the lessons use positions and fingers. On the French layout, the little finger lesson teaches Q and M. The words are still in English, and she said that was fine. I also found out that on French keyboards you have to hold Shift to type a number. Without Shift the number keys type accents and brackets. I haven't written the number lessons yet, but the French ones will need to include Shift.

I can't test this properly because I don't have a French keyboard. I can set my laptop to the French layout, but then the letters printed on the keys are wrong. I also don't know if the words in the early lessons are good ones when Q is on the home row and A isn't. She is going to play the first league and tell me what she thinks.

I've read that German keyboards have Y and Z swapped. I'm not going to do anything about that unless someone with a German keyboard wants to play.

Older: Difficulty | Newer: Special moves