forked from thoelze1/kmonad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kmonad.cabal
134 lines (126 loc) · 2.89 KB
/
kmonad.cabal
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
cabal-version: 2.2
name: kmonad
category: Application
version: 0.4.1
synopsis: Advanced keyboard remapping utility
author: David Janssen
maintainer: [email protected]
license: MIT
license-file: LICENSE
build-type: Simple
description:
KMonad is a cross-platform command-line utility that runs as a daemon. It
captures keyboard input (exactly how depends on the OS) and remaps it. The
mapping is highly configurable, and provides options like (transparent) layer
overlays, tap-mod buttons, multi-tap buttons, leader-key style buttons, and
keyboard macros. Functionality heavily inspired by the QMK-firmware.
extra-source-files:
changelog.md
library
default-language:
Haskell2010
hs-source-dirs:
src
ghc-options:
-Wall
-Wno-name-shadowing
-Wno-unused-imports
build-depends:
base
, cereal
, lens
, megaparsec
, mtl
, optparse-applicative
, resourcet
, rio
, time
, unliftio
default-extensions:
ConstraintKinds
DeriveFunctor
DeriveGeneric
DeriveTraversable
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
MultiWayIf
NoImplicitPrelude
OverloadedStrings
RankNTypes
TemplateHaskell
TupleSections
TypeFamilies
exposed-modules:
Data.LayerStack
Data.MultiMap
KMonad.Action
KMonad.App
KMonad.App.BEnv
KMonad.App.Dispatch
KMonad.App.Hooks
KMonad.App.Keymap
KMonad.App.Sluice
KMonad.Args
KMonad.Args.Cmd
KMonad.Args.Parser
KMonad.Args.Joiner
KMonad.Args.Types
KMonad.Button
KMonad.Keyboard
KMonad.Keyboard.Keycode
KMonad.Keyboard.ComposeSeq
KMonad.Keyboard.IO
KMonad.Prelude
KMonad.Util
if os(linux)
exposed-modules:
KMonad.Keyboard.IO.Linux.DeviceSource
KMonad.Keyboard.IO.Linux.Types
KMonad.Keyboard.IO.Linux.UinputSink
c-sources:
c_src/keyio.c
build-depends:
unix
if os(windows)
exposed-modules:
KMonad.Keyboard.IO.Windows.LowLevelHookSource
KMonad.Keyboard.IO.Windows.SendEventSink
KMonad.Keyboard.IO.Windows.Types
c-sources:
c_src/keyio_win.c
build-depends:
Win32
if os(darwin)
exposed-modules:
KMonad.Keyboard.IO.Mac.IOKitSource
KMonad.Keyboard.IO.Mac.KextSink
KMonad.Keyboard.IO.Mac.Types
cxx-sources:
c_src/mac/keyio_mac.cpp
cxx-options:
-std=c++14
extra-libraries:
c++
build-depends:
unix
frameworks:
CoreFoundation
IOKit
executable kmonad
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
main-is:
Main.hs
default-language:
Haskell2010
hs-source-dirs:
app
build-depends:
base
, kmonad