summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal-composer-binding.cpp
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-12-05 19:38:14 -0500
committerScott Murray <scott.murray@konsulko.com>2019-12-06 00:49:14 +0000
commit717601ead4c45b05407ff394e1f82622495d269f (patch)
treed581f99da3029ee89cfa50a900120ba7dbcad491 /signal-composer-binding/signal-composer-binding.cpp
parent5dea708711fb10b3c02f2d8970a9ebe381feb620 (diff)
Add definitions for the steering wheel button CAN signals to provide an abstraction for application usage. Also add signals based on the non-diagnostic vehicle speed, engine speed, and fuel CAN signals to allow abstracting usage of those by e.g. the dashboard application. In addition, SourceAPI::addSignal in source.cpp required a tweak to allow subscribing to signals without specifying an explicit action, i.e. getting the default on receive behavior as documented. Without this change, the signals will silently not be subscribed to, and no events are generated. Since there is no longer an explicit built-in plugin function that could be called in an action to yield the same behavior (it was removed in commit 3e45dda and not restored with the other built-in function by commit bf964e8), I believe this restores the intended default behavior. Bug-AGL: SPEC-3024 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I86e8be66ff27484b34a52145b969661277332a50
Diffstat (limited to 'signal-composer-binding/signal-composer-binding.cpp')
0 files changed, 0 insertions, 0 deletions