Skip to content

Commit

Permalink
Remove hard dependency on cffi
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Oct 25, 2024
1 parent 65424e3 commit b74c717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cl-gamepad.asd
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
(:file "default-device-mappings")
(:file "documentation"))
:defsystem-depends-on (:trivial-features)
:depends-on (:cffi
:depends-on ((:feature (:or :linux :windows :darwin :nx) :cffi)
(:feature :windows :com-on)
:documentation-utils))
2 changes: 1 addition & 1 deletion common.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(defvar *here* #.(or *compile-file-pathname* *load-pathname* *default-pathname-defaults*))
(defvar *static* (make-pathname :name NIL :type NIL :defaults (merge-pathnames "static/" *here*)))
(pushnew *static* cffi:*foreign-library-directories*)
#+cffi (pushnew *static* cffi:*foreign-library-directories*)

;;; Allow relaying events to the user without allocating fresh event instances
(gamepad::define-global +button-down-event+ (gamepad::make-button-down NIL 0 0 NIL))
Expand Down

0 comments on commit b74c717

Please sign in to comment.