/
display.cljs
52 lines (34 loc) · 1.98 KB
/
display.cljs
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
(ns chromex.app.system.display (:require-macros [chromex.app.system.display :refer [gen-wrap]])
(:require [chromex.core]))
; -- functions --------------------------------------------------------------------------------------------------------------
(defn get-info* [config flags]
(gen-wrap :function ::get-info config flags))
(defn get-display-layout* [config]
(gen-wrap :function ::get-display-layout config))
(defn set-display-properties* [config id info]
(gen-wrap :function ::set-display-properties config id info))
(defn set-display-layout* [config layouts]
(gen-wrap :function ::set-display-layout config layouts))
(defn enable-unified-desktop* [config enabled]
(gen-wrap :function ::enable-unified-desktop config enabled))
(defn overscan-calibration-start* [config id]
(gen-wrap :function ::overscan-calibration-start config id))
(defn overscan-calibration-adjust* [config id delta]
(gen-wrap :function ::overscan-calibration-adjust config id delta))
(defn overscan-calibration-reset* [config id]
(gen-wrap :function ::overscan-calibration-reset config id))
(defn overscan-calibration-complete* [config id]
(gen-wrap :function ::overscan-calibration-complete config id))
(defn show-native-touch-calibration* [config id]
(gen-wrap :function ::show-native-touch-calibration config id))
(defn start-custom-touch-calibration* [config id]
(gen-wrap :function ::start-custom-touch-calibration config id))
(defn complete-custom-touch-calibration* [config pairs bounds]
(gen-wrap :function ::complete-custom-touch-calibration config pairs bounds))
(defn clear-touch-calibration* [config id]
(gen-wrap :function ::clear-touch-calibration config id))
(defn set-mirror-mode* [config info]
(gen-wrap :function ::set-mirror-mode config info))
; -- events -----------------------------------------------------------------------------------------------------------------
(defn on-display-changed* [config channel & args]
(gen-wrap :event ::on-display-changed config channel args))