We need to move cog into seat1 completely: ## Udev rule for buttons ``` SUBSYSTEM=="input", ATTRS{name}=="Flipper One Buttons", ENV{ID_SEAT}="seat1" ``` ## Add option to change seat in cog Right now seat0 is hardcoded: https://github.com/Igalia/cog/blob/master/platform/drm/cog-platform-drm.c#L1295 Dirty workaround binary patch: ``` sudo printf '\x31' | sudo dd of=/usr/lib/aarch64-linux-gnu/cog/modules/libcogplatform-drm.so bs=1 seek=$((0xeeb4)) count=1 conv=notrunc ```
We need to move cog into seat1 completely:
Udev rule for buttons
Add option to change seat in cog
Right now seat0 is hardcoded: https://github.com/Igalia/cog/blob/master/platform/drm/cog-platform-drm.c#L1295
Dirty workaround binary patch: