Joystick support (via command line); better keyboard controls
commit4fd0714c121c9f26fdaec9cfab86fe9503bfc848
authorThomas Perl <thp@perli.net>
Sun, 16 Dec 2007 15:05:47 +0000 (16 16:05 +0100)
committerThomas Perl <thp@perli.net>
Sun, 16 Dec 2007 15:05:47 +0000 (16 16:05 +0100)
tree00adfa45afc6073c6842dc4e64ed246a4f967923
parentf416a090d91bfd0bc08f4fe5fb1ca9efab62f6e2
Joystick support (via command line); better keyboard controls

Enable more keyboard controls for Player 1 (arrow keys, space,
left control) and enable the usage of a joystick when the user
specifies the name of the joystick as command line argument.

This even works with applesmc on Linux, so you can play and
control Tennix by tilting your Apple MacBook and pressing the
left control key, which is now mapped to Player 1 swing racket.
game.c
game.h
graphics.c
input.c
input.h
makefile
tennix.c