[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Feuerkraft-CVS] rev 328 - in trunk/data: . controller
From: |
Ingo Ruhnke |
Subject: |
[Feuerkraft-CVS] rev 328 - in trunk/data: . controller |
Date: |
Sat, 10 Jan 2004 16:10:45 +0100 |
Author: grumbel
Date: 2004-01-10 16:10:45 +0100 (Sat, 10 Jan 2004)
New Revision: 328
Added:
trunk/data/controller/
trunk/data/controller/empty.scm
trunk/data/controller/gamepad.scm
trunk/data/controller/gamepad2.scm
trunk/data/controller/keyboard.scm
Removed:
trunk/data/controller.scm
Log:
- added some example controller
Added: trunk/data/controller/empty.scm
===================================================================
--- trunk/data/controller/empty.scm 2004-01-10 02:02:47 UTC (rev 327)
+++ trunk/data/controller/empty.scm 2004-01-10 15:10:45 UTC (rev 328)
@@ -0,0 +1,4 @@
+(feuerkraft-controller
+ )
+
+;; EOF ;;
Added: trunk/data/controller/gamepad.scm
===================================================================
--- trunk/data/controller/gamepad.scm 2004-01-10 02:02:47 UTC (rev 327)
+++ trunk/data/controller/gamepad.scm 2004-01-10 15:10:45 UTC (rev 328)
@@ -0,0 +1,12 @@
+(feuerkraft-controller
+
+ (primary-button (joystick-button 0 9))
+ (secondary-button (joystick-button 0 8))
+ (use-button (joystick-button 0 3))
+ (menu-button (joystick-button 0 2))
+
+ (orientation-axis (joystick-axis 0 0))
+ (accelerate-axis (joystick-axis 0 1))
+ (strafe-axis (joystick-axis 0 2)))
+
+;; EOF ;;
\ No newline at end of file
Added: trunk/data/controller/gamepad2.scm
===================================================================
--- trunk/data/controller/gamepad2.scm 2004-01-10 02:02:47 UTC (rev 327)
+++ trunk/data/controller/gamepad2.scm 2004-01-10 15:10:45 UTC (rev 328)
@@ -0,0 +1,12 @@
+(feuerkraft-controller
+
+ (primary-button (joystick-button 1 9))
+ (secondary-button (joystick-button 1 8))
+ (use-button (joystick-button 1 3))
+ (menu-button (joystick-button 1 2))
+
+ (orientation-axis (joystick-axis 1 0))
+ (accelerate-axis (joystick-axis 1 1))
+ (strafe-axis (joystick-axis 1 2)))
+
+;; EOF ;;
Added: trunk/data/controller/keyboard.scm
===================================================================
--- trunk/data/controller/keyboard.scm 2004-01-10 02:02:47 UTC (rev 327)
+++ trunk/data/controller/keyboard.scm 2004-01-10 15:10:45 UTC (rev 328)
@@ -0,0 +1,17 @@
+(feuerkraft-controller
+ (primary-button (keyboard-button "e"))
+ (secondary-button (keyboard-button "p"))
+ (use-button (keyboard-button "k"))
+ (menu-button (keyboard-button "a"))
+
+ (orientation-axis (button-axis (keyboard-button "left")
+ (keyboard-button "right")))
+
+ (accelerate-axis (button-axis (keyboard-button "up")
+ (keyboard-button "down")))
+
+ (strafe-axis (button-axis (keyboard-button "o")
+ (keyboard-button "u")
+ )))
+
+;; EOF ;;
Deleted: trunk/data/controller.scm
===================================================================
--- trunk/data/controller.scm 2004-01-10 02:02:47 UTC (rev 327)
+++ trunk/data/controller.scm 2004-01-10 15:10:45 UTC (rev 328)
@@ -1,12 +0,0 @@
-(feuerkraft-controller
-
- (primary-button (joystick-button 1 9))
- (secondary-button (joystick-button 1 8))
- (use-button (joystick-button 1 3))
- (menu-button (joystick-button 1 2))
-
- (orientation-axis (joystick-axis 1 0))
- (accelerate-axis (joystick-axis 1 1))
- (strafe-axis (joystick-axis 1 2)))
-
-;; EOF ;;
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Feuerkraft-CVS] rev 328 - in trunk/data: . controller,
Ingo Ruhnke <=