Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print headset name when using -c -? #267

Closed
JoePfeiffer opened this issue Jan 31, 2023 · 3 comments
Closed

Print headset name when using -c -? #267

JoePfeiffer opened this issue Jan 31, 2023 · 3 comments

Comments

@JoePfeiffer
Copy link

Description

Thinking about creating a gui, and something I've noticed immediately is that there doesn't seem to be a way to print the headset name when using the -c (--short-output) option. It would be very helpful if this were available, notably when getting the
headset capabilities.

A suggestion would be to print it on its own line when using -c -? together, so (in the case of my own headset)
% headsetcontrol -c -?
would print
Logitech G533
sbi

This would make it available when setting up the gui.

@Sapd
Copy link
Owner

Sapd commented Feb 10, 2023

I think it would make more sense to just create a new parameter for that.

Maybe something like headsetcontrol --print-headset ?

@JoePfeiffer
Copy link
Author

I like the idea of getting all you need to set it up from a single invocation.

A separate --print-headset would also work (as long as if invoked with -c it only printed the headset name). It's easy enough to parse anyway that it it's not strictly necessary, but would be nice.

@Sapd
Copy link
Owner

Sapd commented May 1, 2023

See the discussion here: #271

It will probably entirely shift to a chose-able output like json and yaml with more information

@Sapd Sapd closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2023
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

No branches or pull requests

2 participants