From 7e923354ba4dbcec23b914de418dfe800344faab Mon Sep 17 00:00:00 2001 From: Paul Dino Jones Date: Sun, 31 Aug 2025 19:14:33 -0400 Subject: [PATCH] add newer and better examples to monocoque.config --- conf/monocoque.config | 175 +++++++++++++++++++++++++++++++++++------- 1 file changed, 148 insertions(+), 27 deletions(-) diff --git a/conf/monocoque.config b/conf/monocoque.config index 2507802..2a95382 100644 --- a/conf/monocoque.config +++ b/conf/monocoque.config @@ -9,45 +9,156 @@ configs = ({ subtype = "Revburner"; granularity = 2; config = "~/.config/monocoque/revburner15000.xml"; }, + { device = "Sound"; effect = "Engine"; - devid = "alsa_output.usb-Generic_USB2.0_Device_20170726905959-00.analog-stereo"; - pan = 1; - volume = 90; - frequency = 27; }, + devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71"; + pan = 3; + fps = 60; + threshold = 0.2; + channels = 8; + volume = 70; + modulation = "frequency"; + frequency = 17; + frequencyMax = 37;}, { device = "Sound"; effect = "Gear" - devid = "alsa_output.usb-Generic_USB2.0_Device_20170726905959-00.analog-stereo"; - pan = 1; - duration = .25; + devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71"; + pan = 3; + fps = 60; + threshold = 0.2; + channels = 8; + duration = .6; volume = 100; - frequency = 27; }, + frequency = 15; }, + + + + { device = "Sound"; + effect = "TyreSlip"; + tyre = "RearLeft"; + devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71"; + pan = 4; + channels = 8; + threshold = 0.2; + fps = 60; + volume = 100; + modulation = "frequency"; + frequency = 30; + frequencyMax = 37;}, + { device = "Sound"; + effect = "TyreSlip"; + tyre = "RearRight"; + devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71"; + pan = 5; + fps = 60; + channels = 8; + threshold = 0.2; + volume = 100; + modulation = "frequency"; + frequency = 30; + frequencyMax = 37;}, + { device = "Sound"; + effect = "TyreSlip"; + tyre = "FrontLeft"; + devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71"; + pan = 0; + channels = 8; + threshold = 0.2; + volume = 100; + modulation = "frequency"; + frequency = 30; + frequencyMax = 37;}, + { device = "Sound"; + effect = "TyreSlip"; + tyre = "FrontRight"; + 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"; + tyre = "RearLeft"; + devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71"; + pan = 4; + channels = 8; + threshold = 0.2; + volume = 100; + modulation = "frequency"; + frequency = 30; + frequencyMax = 37;}, + { device = "Sound"; + effect = "TyreLock"; + tyre = "RearRight"; + devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71"; + pan = 5; + channels = 8; + threshold = 0.2; + modulation = "frequency"; + volume = 100; + frequency = 30; + frequencyMax = 37;}, + { device = "Sound"; + effect = "TyreLock"; + tyre = "FrontLeft"; + devid = "alsa_output.pci-0000_0d_00.0.analog-surround-71"; + pan = 0; + channels = 8; + threshold = 0.2; + volume = 100; + modulation = "frequency"; + frequency = 30; + frequencyMax = 37;}, + { device = "Sound"; + effect = "TyreLock"; + tyre = "FrontRight"; + 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"; - subtype = "ClubSportElitePedalsV3"; + subtype = "CSLELITEV3PEDALS"; + //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 = "ABS"; tyre = "ALL"; - threshold = 0.05; }, + threshold = 0.2; + value0 = 0; + value1 = 16776960; }, { device = "USB"; type = "Haptic"; - subtype = "ClubSportElitePedalsV3"; + subtype = "CSLELITEV3PEDALS"; + //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 = "Slip"; - tyre = "REARS"; - threshold = 0.75; }, + tyre = "ALL"; + threshold = 0.2; + value0 = 0; + value1 = 16711680; }, { device = "USB"; type = "Haptic"; - subtype = "ClubSportElitePedalsV3"; + subtype = "CSLELITEV3PEDALS"; + //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"; tyre = "ALL"; - threshold = 0.75; }, - { device = "Serial"; - type = "SimWind"; - config = "None"; - devpath = "/dev/ttyACM1"; }, - { device = "Serial"; - type = "ShiftLights"; - config = "None"; - devpath = "/dev/ttyACM0"; }, + threshold = 0.2; + value0 = 0; + value1 = 65280; }, + { device = "Serial"; type = "Haptic"; effect = "TyreSlip"; @@ -71,13 +182,23 @@ configs = ({ config = "None"; baud = 115200; devpath = "/dev/simdev1"; }, + + { device = "Serial"; + type = "SimWind"; + config = "None"; + baud = 115200; + devpath = "/dev/simdev1"; }, + { device = "Serial"; type = "Simleds"; numleds = 6; - startled = 1; - endled = 6; - config = "None"; + startled = 2; + endled = 5; + config = "~/git/monocoque/conf/rpms_and_radar.lua" baud = 115200; - devpath = "/dev/simdev0"; } + devpath = "/dev/simdev0"; + } + + ); });