MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / inputdevice_get_widget_num

Function inputdevice_get_widget_num

src/inputdevice.cpp:9150–9154  ·  view source on GitHub ↗

returns number of axis/buttons and keys from selected device */

Source from the content-addressed store, hash-verified

9148
9149/* returns number of axis/buttons and keys from selected device */
9150int inputdevice_get_widget_num (int devnum)
9151{
9152 const struct inputdevice_functions *idf = getidf (devnum);
9153 return idf->get_widget_num (inputdevice_get_device_index (devnum));
9154}
9155
9156// return name of event, do not use ie->name directly
9157bool inputdevice_get_eventname (const struct inputevent *ie, TCHAR *out)

Callers 1

Calls 2

getidfFunction · 0.85

Tested by

no test coverage detected