[−][src]Struct libcec_sys::libcec_configuration
Fields
clientVersion: u32
< the version of the client that is connecting
strDeviceName: [c_char; 13]
< the device name to use on the CEC bus
deviceTypes: cec_device_type_list
< the device type(s) to use on the CEC bus for libCEC
bAutodetectAddress: u8
< (read only) set to 1 by libCEC when the physical address was autodetected
iPhysicalAddress: u16
< the physical address of the CEC adapter
baseDevice: cec_logical_address
< the logical address of the device to which the adapter is connected. only used when iPhysicalAddress = 0 or when the adapter doesn't support autodetection
iHDMIPort: u8
< the HDMI port to which the adapter is connected. only used when iPhysicalAddress = 0 or when the adapter doesn't support autodetection
tvVendor: u32
< override the vendor ID of the TV. leave this untouched to autodetect
wakeDevices: cec_logical_addresses
< list of devices to wake when initialising libCEC or when calling PowerOnDevices() without any parameter.
powerOffDevices: cec_logical_addresses
< list of devices to power off when calling StandbyDevices() without any parameter.
serverVersion: u32
< the version number of the server. read-only
bGetSettingsFromROM: u8
< true to get the settings from the ROM (if set, and a v2 ROM is present), false to use these settings.
bActivateSource: u8
< make libCEC the active source on the bus when starting the player application
bPowerOffOnStandby: u8
< put this PC in standby mode when the TV is switched off. only used when bShutdownOnStandby = 0
callbackParam: *mut c_void
< the object to pass along with a call of the callback methods. NULL to ignore
callbacks: *mut ICECCallbacks
< the callback methods to use. set this to NULL when not using callbacks
logicalAddresses: cec_logical_addresses
< (read-only) the current logical addresses. added in 1.5.3
iFirmwareVersion: u16
< (read-only) the firmware version of the adapter. added in 1.6.0
strDeviceLanguage: [c_char; 3]
< the menu language used by the client. 3 character ISO 639-2 country code. see http://http://www.loc.gov/standards/iso639-2/ added in 1.6.2
iFirmwareBuildDate: u32
< (read-only) the build date of the firmware, in seconds since epoch. if not available, this value will be set to 0. added in 1.6.2
bMonitorOnly: u8
< won't allocate a CCECClient when starting the connection when set (same as monitor mode). added in 1.6.3
cecVersion: cec_version
< CEC spec version to use by libCEC. defaults to v1.4. added in 1.8.0
adapterType: cec_adapter_type
< type of the CEC adapter that we're connected to. added in 1.8.2
comboKey: cec_user_control_code
< key code that initiates combo keys. defaults to CEC_USER_CONTROL_CODE_F1_BLUE. CEC_USER_CONTROL_CODE_UNKNOWN to disable. added in 2.0.5
iComboKeyTimeoutMs: u32
< timeout until the combo key is sent as normal keypress
iButtonRepeatRateMs: u32
< rate at which buttons autorepeat. 0 means rely on CEC device
iButtonReleaseDelayMs: u32
< duration after last update until a button is considered released
iDoubleTapTimeoutMs: u32
< prevent double taps within this timeout. defaults to 200ms. added in 4.0.0
bAutoWakeAVR: u8
< set to 1 to automatically waking an AVR when the source is activated. added in 4.0.0
Trait Implementations
impl Clone for libcec_configuration
[src]
pub fn clone(&self) -> libcec_configuration
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for libcec_configuration
[src]
impl Debug for libcec_configuration
[src]
Auto Trait Implementations
impl RefUnwindSafe for libcec_configuration
[src]
impl !Send for libcec_configuration
[src]
impl !Sync for libcec_configuration
[src]
impl Unpin for libcec_configuration
[src]
impl UnwindSafe for libcec_configuration
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,