-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
48 lines (47 loc) · 1004 Bytes
/
config.js
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
const conf = {
app :
{
version : null, // dynamically fetched on app start
},
serial : {
acceptedPortManufacturers : [
'wch.cn',
'arduino.cc',
],
baudRate : 9600,
},
parsing :
{
prefix : 'kb',
delimiter : ':'
},
display :
{
mainWinTitle : 'Serial 2 KeyPress',
getScreenDimensions : false, // finds primary and secondary display values via electron
openDevTools : false,
notiWinIgnoreMouseEvents : false, // Ignore Mouse so that it cannot be closed by user input
primary :
{
x : 0,
y : 0,
w : 530,
h : 455,
},
secondary :
{
x : 0,
y : 0,
w : 0,
h : 0,
},
daemon :
{
x : 40,
y : 960,
w : 80,
h : 80,
},
}
}
module.exports.conf = conf;