% ---------------------------------------------------------------------------
\section{Keyboard, joysticks, and paddles}

The Pc-keyboard acts as both 64-keyboard and joysticks but not at the same
time. To change the mode of the Pc-keyboard hold down \key{Ctrl} and
\key{Alt} then press \key{K} for keyboard, \key{F1} for joystick in port~1,
or \key{F2} for joystick in port~2. Currently only one joystick can be used
at any one time. Pc-joysticks are not supported since I have no such beast.

The mode changing keys as well as the following meta-keys work in all modes.
All meta-keys use the \key{Ctrl} and \key{Alt} sequence.
\key{Esc} redraws the screen, \key{Del} resets the 64, \key{Space} halts
the emulator and returns to Dos or whatever you use.

The keyboard mode is of course the default mode. Most Pc-keys map to what
you expect them to; some don't.
\begin{center}
\begin{tabular}{|c|c|l|}\hline
  Pc-Key(s)       & 64-key(s)             & Remark \\\hline\hline
  A--Z            & A--Z                  & \\
  0--9            & 0--9                  & \\
  Space           & Space                 & \\
  Esc             & Run/Stop              & See also F10/F12 \\
  Ctrl            & Ctrl                  & \\
  Alt             & Commodore key         & \\
  L- \& R-shift   & L- \& R-shift         & \\
  Backspace       & Del                   & Del is really backspace \\
  $+$,$-$,$*$,$/$ & $+$,$-$,$*$,$/$       & \\
  F1,F3,F5,F7     & F1,F3,F5,F7           & \\
  F2,F4,F6,F8     & R-shift+(F1,F3,F5,F7) & You'll hit the wrong one \\
  F10,F12         & Restore               & Generates Nmi \\
  Caps-Lock       & None                  & Being worked on \\
  Insert          & R-shift+Backspace     & \\
  Delete          & None                  & No such function \\
  Home            & Home                  & \\\hline
\end{tabular}
\end{center}
The rest you must find yourself since the engraving of Pc-keyboards differ
from country to country.
Please notice that some keys automatically generate a R-shift.

In the joystick modes few keys are accepted: The cursor movement keys and
the space key. They do what you expect them to do.

Paddles are not implemented in this version. I'm thinking about using a mouse
(rat) to emulate paddles. Since I hate both mice and paddles (and have
neither) this is a low priority enhancement.
