Menu

getInput

functions (4)
Majenko Technologies

Format: unsigned long long getInput(struct device * dev, char * name)

Parameters:

  • dev : Pointer to the device structure for this instance.
  • name : Name of the input to read.

This function gets the current value from the bus that an input is attached to. It iterates the busses to find the ones the named input is connected to. The value of the first bus is found. If no bus is found then NULL is returned.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.