mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
For property events, provide property name rather than source name.
This is much more useful.
This commit is contained in:
@@ -164,7 +164,7 @@ struct CS_Event {
|
||||
CS_Source source;
|
||||
CS_Sink sink;
|
||||
|
||||
// Source/sink name
|
||||
// Source/sink/property name
|
||||
const char *name;
|
||||
|
||||
// Fields for CS_SOURCE_VIDEOMODE_CHANGED event
|
||||
|
||||
@@ -119,7 +119,7 @@ struct RawEvent {
|
||||
CS_Source sourceHandle = CS_INVALID_HANDLE;
|
||||
CS_Sink sinkHandle = CS_INVALID_HANDLE;
|
||||
|
||||
// Source/sink name
|
||||
// Source/sink/property name
|
||||
std::string name;
|
||||
|
||||
// Fields for kSourceVideoModeChanged event
|
||||
|
||||
Reference in New Issue
Block a user