Skip to content

Make Button agnostic of the SoC#804

Open
Noc1a wants to merge 2 commits intoev3dev:ev3dev-stretchfrom
Noc1a:ev3dev-stretch
Open

Make Button agnostic of the SoC#804
Noc1a wants to merge 2 commits intoev3dev:ev3dev-stretchfrom
Noc1a:ev3dev-stretch

Conversation

@Noc1a
Copy link

@Noc1a Noc1a commented Jan 6, 2026

Currently, the filename id hardcoded using Raspberry SoC id. The current id matches Raspberry 2/3B but does not work with 1B+ (impossible to use Button). To make it agnostic of the underlying SoC I suggest to get the filename from evdev. Should this method be in a util class?

Noc1a added 2 commits January 6, 2026 21:38
Currently, the filename id hardcoded using Raspberry SoC id. The current id matches Raspberry 2/3B but does not work with 1B+ (impossible to use Button). To make it agnostic of the underlying SoC I suggest to get the filename from evdev. Should this method be in a util class?
Make Button agnostic of the SoC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant