Next: , Up: Tutorial   [Contents][Index]


2.2.1 Example Configuration: Modules

At the top of our configuration, we see this:

(use-modules (librekontrol core)
             (librekontrol device)
             (librekontrol input)
             (librekontrol alsa)
             ((librekontrol devices ni-ak1) #:prefix ak1:))

Guile, the programming language in which Librekontrol configuration is done, has a module system. This allows you to only load the modules that you need to do your particular configuration (or, potentially, for others to share convenient Librekontrol code with others).

Here, we are loading several Librekontrol modules:


Next: , Up: Tutorial   [Contents][Index]