File: xbox360.scm

package info (click to toggle)
pingus 0.7.6-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,684 kB
  • sloc: cpp: 42,080; xml: 2,319; lisp: 521; ruby: 455; ansic: 365; objc: 248; sh: 247; makefile: 66; python: 15
file content (42 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(pingus-controller
 (standard-pointer
  (core:axis-pointer
   (x-axis (sdl:joystick-axis (device 1) (axis 0)))
   (y-axis (sdl:joystick-axis (device 1) (axis 1)))))

 (standard-scroller
  (core:axis-scroller
   (x-axis (sdl:joystick-axis (device 1) (axis 4)))
   (y-axis (sdl:joystick-axis (device 1) (axis 3)))))

 (primary-button
  (sdl:joystick-button (device 1) (button 0)))

 (secondary-button
  (sdl:joystick-button (device 1) (button 1)))

 (pause-button
  (sdl:joystick-button (device 1) (button 6))
  (sdl:joystick-button (device 1) (button 5)))

 (fast-forward-button
  (sdl:joystick-button (device 1) (button 10))
  (sdl:joystick-button (device 1) (button 4)))

 (armageddon-button
  (sdl:joystick-button (device 1) (button 7)))

 (escape-button
  (sdl:keyboard-button (key "escape")))

 (action-axis
  (sdl:joystick-axis (device 1) (axis 7)))

 (action-up-button
  (sdl:joystick-button (device 1) (button 2)))

 (action-down-button
  (sdl:joystick-button (device 1) (button 3)))
 )

;; EOF ;;