Skip to content

Comments

discover connected device's size with '/sys' messages#2

Merged
tehn merged 2 commits intomainfrom
sizeDiscover
Jul 19, 2023
Merged

discover connected device's size with '/sys' messages#2
tehn merged 2 commits intomainfrom
sizeDiscover

Conversation

@dndrks
Copy link
Member

@dndrks dndrks commented Jul 19, 2023

improves on 5d57842 's string-based device size assumptions by querying /sys/info and parsing the returned /sys/size messages.

this will also fix cases where neotrellis grids, which do not follow the same naming schemes as monome-made devices, would fail to connect.

ty @tehn for the excellent optimization suggestion!

@tehn tehn merged commit fa88b1b into main Jul 19, 2023
@tehn tehn deleted the sizeDiscover branch July 19, 2023 15:55
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.

2 participants