I am developing a plugin to use the LiveDrive! IR (and Audigy Drive IR et al) as a remote control receiver. During the implementation, I had occasion to use:
and
GetAction(...) did precisely what I wanted, populating the given ref Action with all of the data; however, while the source seems to indicate that GetActionDetail(...) should do the same thing (only using the ActionType as reference instead of the Key), the action passed to this method is not a ref, and so is not modified.
And so my question: is the current behaviour of GetActionDetail(...) desired, or is it a bug (meaning should the Action be passed by ref)?
Code:
ActionTranslator.GetAction(...)
Code:
ActionTranslator.GetActionDetail(...)
And so my question: is the current behaviour of GetActionDetail(...) desired, or is it a bug (meaning should the Action be passed by ref)?