Expand description
Extra BRP methods for Bevy applications
This crate provides additional Bevy Remote Protocol (BRP) methods that can be added to your Bevy application for enhanced remote control capabilities.
§Usage
Add the plugin to your Bevy app:
use bevy::prelude::*;
use bevy_brp_extras::BrpExtrasPlugin;
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(BrpExtrasPlugin::default())
.run();This will add the following BRP methods to your app:
brp_extras/screenshot: Capture a screenshotbrp_extras/shutdown: Gracefully shutdown the appbrp_extras/send_keys: Send keyboard inputbrp_extras/set_window_title: Change the window title
Structs§
- BrpExtras
Plugin - Plugin type for adding extra BRP methods
- KeyCode
Info - Information about a key code
- Send
Keys Request - Request structure for
send_keys - Send
Keys Response - Response structure for
send_keys - Timed
KeyRelease - Component that tracks keys that need to be released after a duration
Enums§
- KeyCode
Wrapper - Wrapper enum for Bevy’s
KeyCodewith strum derives for string conversion
Constants§
- BrpExtras
Plugin - Plugin that adds extra BRP methods to a Bevy app
- DEFAULT_
REMOTE_ PORT - Default port for remote control connections