fix formatting of monocoque.config
This commit is contained in:
parent
7e923354ba
commit
e4a8a998e8
|
|
@ -1,204 +1,243 @@
|
||||||
configs = ({
|
configs = (
|
||||||
sim = "default";
|
{
|
||||||
// one can also specify sim by using the "short-name" for example "ac". also, "acc", "ace", "ams2", "et", "at" and "rf2"
|
sim = "default";
|
||||||
//sim = "ac";
|
// one can also specify sim by using the "short-name" for example "ac". also, "acc", "ace", "ams2", "et", "at" and "rf2"
|
||||||
car = "default";
|
//sim = "ac";
|
||||||
devices = ( { device = "USB";
|
car = "default";
|
||||||
type = "Tachometer";
|
devices = (
|
||||||
devid = "98FD:83AC";
|
{
|
||||||
subtype = "Revburner";
|
device = "USB";
|
||||||
granularity = 2;
|
type = "Tachometer";
|
||||||
config = "~/.config/monocoque/revburner15000.xml"; },
|
devid = "98FD:83AC";
|
||||||
|
subtype = "Revburner";
|
||||||
|
granularity = 2;
|
||||||
|
config = "~/.config/monocoque/revburner15000.xml";
|
||||||
|
},
|
||||||
|
|
||||||
{ device = "Sound";
|
{
|
||||||
effect = "Engine";
|
device = "Sound";
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
effect = "Engine";
|
||||||
pan = 3;
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
fps = 60;
|
pan = 3;
|
||||||
threshold = 0.2;
|
fps = 60;
|
||||||
channels = 8;
|
threshold = 0.2;
|
||||||
volume = 70;
|
channels = 8;
|
||||||
modulation = "frequency";
|
volume = 70;
|
||||||
frequency = 17;
|
modulation = "frequency";
|
||||||
frequencyMax = 37;},
|
frequency = 17;
|
||||||
{ device = "Sound";
|
frequencyMax = 37;
|
||||||
effect = "Gear"
|
},
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
{
|
||||||
pan = 3;
|
device = "Sound";
|
||||||
fps = 60;
|
effect = "Gear"
|
||||||
threshold = 0.2;
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
channels = 8;
|
pan = 3;
|
||||||
duration = .6;
|
fps = 60;
|
||||||
volume = 100;
|
threshold = 0.2;
|
||||||
frequency = 15; },
|
channels = 8;
|
||||||
|
duration = .6;
|
||||||
|
volume = 100;
|
||||||
|
frequency = 15;
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ device = "Sound";
|
{
|
||||||
effect = "TyreSlip";
|
device = "Sound";
|
||||||
tyre = "RearLeft";
|
effect = "TyreSlip";
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
tyre = "RearLeft";
|
||||||
pan = 4;
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
channels = 8;
|
pan = 4;
|
||||||
threshold = 0.2;
|
channels = 8;
|
||||||
fps = 60;
|
threshold = 0.2;
|
||||||
volume = 100;
|
fps = 60;
|
||||||
modulation = "frequency";
|
volume = 100;
|
||||||
frequency = 30;
|
modulation = "frequency";
|
||||||
frequencyMax = 37;},
|
frequency = 30;
|
||||||
{ device = "Sound";
|
frequencyMax = 37;
|
||||||
effect = "TyreSlip";
|
},
|
||||||
tyre = "RearRight";
|
{
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
device = "Sound";
|
||||||
pan = 5;
|
effect = "TyreSlip";
|
||||||
fps = 60;
|
tyre = "RearRight";
|
||||||
channels = 8;
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
threshold = 0.2;
|
pan = 5;
|
||||||
volume = 100;
|
fps = 60;
|
||||||
modulation = "frequency";
|
channels = 8;
|
||||||
frequency = 30;
|
threshold = 0.2;
|
||||||
frequencyMax = 37;},
|
volume = 100;
|
||||||
{ device = "Sound";
|
modulation = "frequency";
|
||||||
effect = "TyreSlip";
|
frequency = 30;
|
||||||
tyre = "FrontLeft";
|
frequencyMax = 37;
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
},
|
||||||
pan = 0;
|
{
|
||||||
channels = 8;
|
device = "Sound";
|
||||||
threshold = 0.2;
|
effect = "TyreSlip";
|
||||||
volume = 100;
|
tyre = "FrontLeft";
|
||||||
modulation = "frequency";
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
frequency = 30;
|
pan = 0;
|
||||||
frequencyMax = 37;},
|
channels = 8;
|
||||||
{ device = "Sound";
|
threshold = 0.2;
|
||||||
effect = "TyreSlip";
|
volume = 100;
|
||||||
tyre = "FrontRight";
|
modulation = "frequency";
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
frequency = 30;
|
||||||
pan = 1;
|
frequencyMax = 37;
|
||||||
channels = 8;
|
},
|
||||||
threshold = 0.2;
|
{
|
||||||
volume = 100;
|
device = "Sound";
|
||||||
modulation = "frequency";
|
effect = "TyreSlip";
|
||||||
frequency = 30;
|
tyre = "FrontRight";
|
||||||
frequencyMax = 37;},
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
|
pan = 1;
|
||||||
|
channels = 8;
|
||||||
|
threshold = 0.2;
|
||||||
|
volume = 100;
|
||||||
|
modulation = "frequency";
|
||||||
|
frequency = 30;
|
||||||
|
frequencyMax = 37;
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ device = "Sound";
|
{
|
||||||
effect = "TyreLock";
|
device = "Sound";
|
||||||
tyre = "RearLeft";
|
effect = "TyreLock";
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
tyre = "RearLeft";
|
||||||
pan = 4;
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
channels = 8;
|
pan = 4;
|
||||||
threshold = 0.2;
|
channels = 8;
|
||||||
volume = 100;
|
threshold = 0.2;
|
||||||
modulation = "frequency";
|
volume = 100;
|
||||||
frequency = 30;
|
modulation = "frequency";
|
||||||
frequencyMax = 37;},
|
frequency = 30;
|
||||||
{ device = "Sound";
|
frequencyMax = 37;
|
||||||
effect = "TyreLock";
|
},
|
||||||
tyre = "RearRight";
|
{
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
device = "Sound";
|
||||||
pan = 5;
|
effect = "TyreLock";
|
||||||
channels = 8;
|
tyre = "RearRight";
|
||||||
threshold = 0.2;
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
modulation = "frequency";
|
pan = 5;
|
||||||
volume = 100;
|
channels = 8;
|
||||||
frequency = 30;
|
threshold = 0.2;
|
||||||
frequencyMax = 37;},
|
modulation = "frequency";
|
||||||
{ device = "Sound";
|
volume = 100;
|
||||||
effect = "TyreLock";
|
frequency = 30;
|
||||||
tyre = "FrontLeft";
|
frequencyMax = 37;
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
},
|
||||||
pan = 0;
|
{
|
||||||
channels = 8;
|
device = "Sound";
|
||||||
threshold = 0.2;
|
effect = "TyreLock";
|
||||||
volume = 100;
|
tyre = "FrontLeft";
|
||||||
modulation = "frequency";
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
frequency = 30;
|
pan = 0;
|
||||||
frequencyMax = 37;},
|
channels = 8;
|
||||||
{ device = "Sound";
|
threshold = 0.2;
|
||||||
effect = "TyreLock";
|
volume = 100;
|
||||||
tyre = "FrontRight";
|
modulation = "frequency";
|
||||||
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
frequency = 30;
|
||||||
pan = 1;
|
frequencyMax = 37;
|
||||||
channels = 8;
|
},
|
||||||
threshold = 0.2;
|
{
|
||||||
volume = 100;
|
device = "Sound";
|
||||||
modulation = "frequency";
|
effect = "TyreLock";
|
||||||
frequency = 30;
|
tyre = "FrontRight";
|
||||||
frequencyMax = 37;},
|
devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71";
|
||||||
|
pan = 1;
|
||||||
|
channels = 8;
|
||||||
|
threshold = 0.2;
|
||||||
|
volume = 100;
|
||||||
|
modulation = "frequency";
|
||||||
|
frequency = 30;
|
||||||
|
frequencyMax = 37;
|
||||||
|
},
|
||||||
|
|
||||||
{ device = "USB";
|
{
|
||||||
type = "Haptic";
|
device = "USB";
|
||||||
subtype = "CSLELITEV3PEDALS";
|
type = "Haptic";
|
||||||
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
subtype = "CSLELITEV3PEDALS";
|
||||||
devpath = "/sys/module/hid_fanatec/drivers/hid:ftec_csl_elite/0003:0EB7:183B.0002/rumble";
|
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
||||||
effect = "ABS";
|
devpath = "/sys/module/hid_fanatec/drivers/hid:ftec_csl_elite/0003:0EB7:183B.0002/rumble";
|
||||||
tyre = "ALL";
|
effect = "ABS";
|
||||||
threshold = 0.2;
|
tyre = "ALL";
|
||||||
value0 = 0;
|
threshold = 0.2;
|
||||||
value1 = 16776960; },
|
value0 = 0;
|
||||||
{ device = "USB";
|
value1 = 16776960;
|
||||||
type = "Haptic";
|
},
|
||||||
subtype = "CSLELITEV3PEDALS";
|
{
|
||||||
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
device = "USB";
|
||||||
devpath = "/sys/module/hid_fanatec/drivers/hid:ftec_csl_elite/0003:0EB7:183B.0002/rumble";
|
type = "Haptic";
|
||||||
effect = "Slip";
|
subtype = "CSLELITEV3PEDALS";
|
||||||
tyre = "ALL";
|
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
||||||
threshold = 0.2;
|
devpath = "/sys/module/hid_fanatec/drivers/hid:ftec_csl_elite/0003:0EB7:183B.0002/rumble";
|
||||||
value0 = 0;
|
effect = "Slip";
|
||||||
value1 = 16711680; },
|
tyre = "ALL";
|
||||||
{ device = "USB";
|
threshold = 0.2;
|
||||||
type = "Haptic";
|
value0 = 0;
|
||||||
subtype = "CSLELITEV3PEDALS";
|
value1 = 16711680;
|
||||||
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
},
|
||||||
devpath = "/sys/module/hid_fanatec/drivers/hid:ftec_csl_elite/0003:0EB7:183B.0002/rumble";
|
{
|
||||||
effect = "Lock";
|
device = "USB";
|
||||||
tyre = "ALL";
|
type = "Haptic";
|
||||||
threshold = 0.2;
|
subtype = "CSLELITEV3PEDALS";
|
||||||
value0 = 0;
|
//devpath = "/sys/module/hid_fanatec/drivers/hid:fanatec/0003:0EB7:183B.0002/rumble";
|
||||||
value1 = 65280; },
|
devpath = "/sys/module/hid_fanatec/drivers/hid:ftec_csl_elite/0003:0EB7:183B.0002/rumble";
|
||||||
|
effect = "Lock";
|
||||||
|
tyre = "ALL";
|
||||||
|
threshold = 0.2;
|
||||||
|
value0 = 0;
|
||||||
|
value1 = 65280;
|
||||||
|
},
|
||||||
|
|
||||||
{ device = "Serial";
|
{
|
||||||
type = "Haptic";
|
device = "Serial";
|
||||||
effect = "TyreSlip";
|
type = "Haptic";
|
||||||
tyre = "ALL"; // motor m1 connected to throttle
|
effect = "TyreSlip";
|
||||||
motors = 0;
|
tyre = "ALL"; // motor m1 connected to throttle
|
||||||
devpath = "/dev/ttyACM0"; },
|
motors = 0;
|
||||||
{ device = "Serial";
|
devpath = "/dev/ttyACM0";
|
||||||
type = "Haptic";
|
},
|
||||||
effect = "TyreLock";
|
{
|
||||||
tyre = "ALL"; // motor m3 connected to brake;
|
device = "Serial";
|
||||||
motors = 2;
|
type = "Haptic";
|
||||||
devpath = "/dev/ttyACM0"; },
|
effect = "TyreLock";
|
||||||
{ device = "Serial";
|
tyre = "ALL"; // motor m3 connected to brake;
|
||||||
type = "Haptic"
|
motors = 2;
|
||||||
effect = "ABS";
|
devpath = "/dev/ttyACM0";
|
||||||
tyre = "ALL"; // this will have to be documented, this tells the code to spin both motors
|
},
|
||||||
motors = 8;
|
{
|
||||||
devpath = "/dev/ttyACM0";},
|
device = "Serial";
|
||||||
{ device = "Serial";
|
type = "Haptic"
|
||||||
type = "SimWind";
|
effect = "ABS";
|
||||||
config = "None";
|
tyre = "ALL"; // this will have to be documented, this tells the code to spin both motors
|
||||||
baud = 115200;
|
motors = 8;
|
||||||
devpath = "/dev/simdev1"; },
|
devpath = "/dev/ttyACM0";
|
||||||
|
},
|
||||||
|
{
|
||||||
|
device = "Serial";
|
||||||
|
type = "SimWind";
|
||||||
|
config = "None";
|
||||||
|
baud = 115200;
|
||||||
|
devpath = "/dev/simdev1";
|
||||||
|
},
|
||||||
|
|
||||||
{ device = "Serial";
|
{
|
||||||
type = "SimWind";
|
device = "Serial";
|
||||||
config = "None";
|
type = "SimWind";
|
||||||
baud = 115200;
|
config = "None";
|
||||||
devpath = "/dev/simdev1"; },
|
baud = 115200;
|
||||||
|
devpath = "/dev/simdev1";
|
||||||
|
},
|
||||||
|
|
||||||
{ device = "Serial";
|
{
|
||||||
type = "Simleds";
|
device = "Serial";
|
||||||
numleds = 6;
|
type = "Simleds";
|
||||||
startled = 2;
|
numleds = 6;
|
||||||
endled = 5;
|
startled = 2;
|
||||||
config = "~/git/monocoque/conf/rpms_and_radar.lua"
|
endled = 5;
|
||||||
baud = 115200;
|
config = "~/git/monocoque/conf/rpms_and_radar.lua"
|
||||||
devpath = "/dev/simdev0";
|
baud = 115200;
|
||||||
}
|
devpath = "/dev/simdev0";
|
||||||
|
});
|
||||||
|
}
|
||||||
);
|
);
|
||||||
});
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue