v1.3.0 - Custom Key Events and Setting String Values #23
mpaperno
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Changes since v1.2.0
WASimModule
SimConnect_TransmitClientEvent_EX1()
(as well as the olderTransmitClientEvent()
version). ([8f42b51])WASimClient (C++) and WASimClient_CLI (managed .NET)
WASimClient
, w/out needing a separateSimConnect
session ([61912e6]):registerCustomKeyEvent()
method for mapping event names to numeric IDs (similar in purpose toSimConnect_MapClientEventToSimEvent()
function). See [documentation][registerCustomKeyEvent] for details.sendKeyEvent()
can now be used to trigger registered custom events (similar toSimConnect_TransmitClientEvent[_EX1]()
functions), by ID or name. See [documentation][sendKeyEvent] for details.WASimModule
at all, provided for convenience.CPP_BasicConsole
andCS_BasicConsole
project code.string
values using the new [setVariable(var, stringValue)] overload orsetSimVarVariable()
methods (see below). ([9603c9f])This is also a client-only side feature since the only way to set string values is with SimConnect (or the in-game JS API).
sendKeyEvent(eventName)
string overload wasn't entirely thread-safe. Thanks to [Hans Billiet] for reporting! ([03753d8])DataRequest()
constructor][DataRequest_5] overloads for calculated result type w/outvalueSize
argument where the size is determined based on the desired calculation result type. ([9f7aa9c])WASimClient_CLI (managed .NET)
null
String
references inRegisteredEvent
andVariableRequest
structs when created with some constructor overloads (for example when attempting to send anew VariableRequest(localVariableId)
). Thanks to [Hans Billiet] for reporting! ([1632ed1])WASimUI
Documentation
WASimClient
's event callbacks and possible concurrency issues. ([e474c7f])Other
Full Changelog: 1.2.0.0...1.3.0.0
The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static, dynamic, and managed (.NET) libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.This discussion was created from the release v1.3.0 - Custom Key Events and Setting String Values.
Beta Was this translation helpful? Give feedback.
All reactions