Closed vjandrea closed 5 years ago
--@treturn boolean success
Can we flush that line out some? I assume it's true
on success, false
otherwise? Can we add something to that effect?
What I've found bizarre is that it returns always true
: if you call gma.canbus.hardkey(-1, true, false)
it will return true
indeed. [edit 2: I managed to make it return false
only using a wrong parameter number, like gma.canbus.hardkey(53)
].
Similar issue with [edit: hold=true works]hold=true
: it's supposed to emulate a key held down, but if I try with the Oops or Store keycodes I can't see any reaction.
Ok - if it appears to always returns true, just make a note of that in the LDoc.
Updated 'hold' param & return type for gma.canbus.hardkey()