-
Notifications
You must be signed in to change notification settings - Fork 9
/
blocky-init.lisp
42 lines (37 loc) · 1.4 KB
/
blocky-init.lisp
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
;; -*- Mode: lisp -*-
;;
;; This is the Blocky configuration file "blocky-init.lisp".
;; It is also a Lisp program.
;; You can edit this file to configure Blocky to your preference.
;; Comments begin with semicolons.
;; "setf" is the standard way to set a variable.
;; The little "Mode" bit on the first line above is a hint for GNU Emacs.
;; It is not required for this file to work.
;; (in-package :blocky) ;; don't remove this line.
;; (setf *project-directories* (list #P"~/blocky/" #P"~/.blocky/" #P"~/"))
;; (setf *use-sound* t) ;; "t" means "true"
;; (setf *fullscreen* nil) ;; "nil" means "false"
;; (setf *message-logging* t)
;; (setf *user-keyboard-layout* :qwerty)
;; (setf *debug-on-error* t)
;; Joystick configuration
;; to get your button numbers, execute this in emacs:
;; (slime-toggle-trace-fdefinition 'blocky:make-event)
;; and for your stick axis numbers, use:
;; (slime-toggle-trace-fdefinition 'blocky:update-joystick-axis)
;; (setf *user-joystick-profile*
;; '(:name "Generic USB Gamepad" :type :joystick
;; :left-analog-stick (0 1)
;; :right-analog-stick (3 2)
;; :left-analog-stick (0 1)
;; :right-analog-stick (3 2)
;; :buttons ((2 . :a)
;; (1 . :b)
;; (3 . :x)
;; (0 . :y)
;; (4 . :left-bumper)
;; (5 . :right-bumper)
;; (8 . :select)
;; (9 . :start)
;; (6 . :left-trigger)
;; (7 . :right-trigger))))