-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.lisp
90 lines (89 loc) · 1.62 KB
/
package.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
(in-package #:cl-user)
(defpackage #:org.shirakumo.fraf.gamepad
(:use #:cl)
(:intern
#:button-map
#:axis-map
#:button-states
#:axis-states
#:axis-raw-states
#:axis-ramps
#:axis-dead-zones
#:label-id
#:id-label)
;; configurator.lisp
(:export
#:configure-device
#:monitor-device)
;; mapping.lisp
(:export
#:*default-mappings-file*
#:blacklisted-p
#:device-mapping
#:remove-device-mapping
#:define-device-mapping
#:save-device-mappings)
;; protocol.lisp
(:export
#:+labels+
#:+label-descriptions+
#:+icon-types+
#:gamepad-error
#:event
#:event-device
#:event-time
#:event-code
#:event-label
#:event-value
#:event-old-value
#:button-down
#:button-up
#:axis-move
#:device
#:name
#:vendor
#:product
#:version
#:driver
#:icon-type
#:button
#:axis
#:init
#:shutdown
#:list-devices
#:call-with-devices
#:poll-devices
#:poll-events
#:drop-device
#:rumble
#:dead-zone
#:ramp
#:ensure-device))
(defpackage #:org.shirakumo.fraf.gamepad.impl
(:use #:cl)
(:shadow #:byte)
(:import-from
#:org.shirakumo.fraf.gamepad
#:+labels+
#:button-map
#:axis-map
#:button-states
#:axis-states
#:axis-raw-states
#:axis-ramps
#:axis-dead-zones
#:label-id
#:id-label
#:init
#:shutdown
#:list-devices
#:call-with-devices
#:poll-devices
#:poll-events
#:drop-device
#:rumble
#:blacklisted-p)
(:local-nicknames
(#:gamepad #:org.shirakumo.fraf.gamepad)
#+windows (#:com #:org.shirakumo.com-on)
#+windows (#:com-cffi #:org.shirakumo.com-on.cffi)))