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

Adapt inputs to EventBus #16

Open
gnawinganimal opened this issue Sep 9, 2019 · 4 comments
Open

Adapt inputs to EventBus #16

gnawinganimal opened this issue Sep 9, 2019 · 4 comments
Labels
enhancement New feature or request maybe-someday

Comments

@gnawinganimal
Copy link
Member

Sertain has a handy dandy event bus. It might be nice to adapt input devices and OI controls to these events

onClick(button) {
	// Code to run on button click
}

(It would be nicer to use button as the receiver, but that space is occupied by CoroutineScope unfortunately. This allows the subscription to be canceled with the parent coroutine.)

@gnawinganimal gnawinganimal added the enhancement New feature or request label Sep 26, 2019
@gnawinganimal
Copy link
Member Author

See #31. Not quite done, but getting there.

@gnawinganimal
Copy link
Member Author

Made progress with #35. The system isn't entirely flawless, though, so this issue is still up.

@gnawinganimal
Copy link
Member Author

There are some issues with the inputs. @solidstatebird said that they don't work at all. For now we are using wpilib.

@gnawinganimal
Copy link
Member Author

At this point I don't think this is going to benefit us at all. The wpilib joysticks combined with the ObservableValue are working really well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maybe-someday
Projects
None yet
Development

No branches or pull requests

1 participant