iPad keyboard problems

I’ve been testing the SDL keyboard input on the iPad and it seems to have some problems.
When the iPad keyboard shift is engaged, there are no modifiers read by SDL.

An odder problem is when I press several keys, a wrong result is read.
: is read as ;
( is read as 9
) is read as 0
$ is read as 4
& is read as 7
@ is read as 2
? is read as /
" is read as '
{ is read as [
} is read as ]

is read as 3

% is read as 5
^ is read as 6

  • is read as 8
  • is read as =
    _ is read as -

and so on.

The Undo and Redo button doesn’t trigger any input.

One solution to this would be to not use the iPad keyboard at all, and bring up my own keyboard interface with buttons that closely match a QWERTY keyboard. This seems like the wrong way to do things, especially since an effort to get the iPad keyboard working with SDL clearly has been made by someone.