07-26-2022, 01:10 PM
I checked your code and the result as below. The "mouse.device = /dev/input/event0" are correctly
pi@moode:~ $ cat /home/pi/PeppyMeter/config.txt
[current]
meter = random
random.meter.interval = 20
meter.size = wide
screen.width = 1920
screen.height = 480
exit.on.touch = False
output.display = True
output.serial = False
output.i2c = False
output.pwm = False
output.http = False
use.logging = False
use.cache = True
frame.rate = 30
[sdl.env]
framebuffer.device = /dev/fb0
mouse.device = /dev/input/event0
mouse.driver = TSLIB
mouse.enabled = True
video.driver = dummy
video.display = :0
double.buffer = False
no.frame = False
[serial.interface]
device.name = /dev/serial0
baud.rate = 9600
include.time = False
update.period = 0.1
[i2c.interface]
port = 1
left.channel.address = 0x21
right.channel.address = 0x20
output.size = 10
update.period = 0.1
[pwm.interface]
frequency = 500
gpio.pin.left = 24
gpio.pin.right = 25
update.period = 0.1
[http.interface]
target.url = http://localhost:8000/vumeter
update.period = 0.033
[web.server]
http.port = 8001
[data.source]
type = pipe
polling.interval = 0.033
pipe.name = /var/tmp/peppyfifo
volume.constant = 80.0
volume.min = 0.0
volume.max = 100.0
volume.max.in.pipe = 100.0
step = 6
mono.algorithm = average
stereo.algorithm = new
smooth.buffer.size = 4
pi@moode:~ $ ls -lia /dev/input/*
7843 crw-rw---- 1 root input 13, 63 Jul 25 19:33 /dev/input/mice
pi@moode:~ $ cat /home/pi/PeppyMeter/config.txt
[current]
meter = random
random.meter.interval = 20
meter.size = wide
screen.width = 1920
screen.height = 480
exit.on.touch = False
output.display = True
output.serial = False
output.i2c = False
output.pwm = False
output.http = False
use.logging = False
use.cache = True
frame.rate = 30
[sdl.env]
framebuffer.device = /dev/fb0
mouse.device = /dev/input/event0
mouse.driver = TSLIB
mouse.enabled = True
video.driver = dummy
video.display = :0
double.buffer = False
no.frame = False
[serial.interface]
device.name = /dev/serial0
baud.rate = 9600
include.time = False
update.period = 0.1
[i2c.interface]
port = 1
left.channel.address = 0x21
right.channel.address = 0x20
output.size = 10
update.period = 0.1
[pwm.interface]
frequency = 500
gpio.pin.left = 24
gpio.pin.right = 25
update.period = 0.1
[http.interface]
target.url = http://localhost:8000/vumeter
update.period = 0.033
[web.server]
http.port = 8001
[data.source]
type = pipe
polling.interval = 0.033
pipe.name = /var/tmp/peppyfifo
volume.constant = 80.0
volume.min = 0.0
volume.max = 100.0
volume.max.in.pipe = 100.0
step = 6
mono.algorithm = average
stereo.algorithm = new
smooth.buffer.size = 4
pi@moode:~ $ ls -lia /dev/input/*
7843 crw-rw---- 1 root input 13, 63 Jul 25 19:33 /dev/input/mice