aboutsummaryrefslogtreecommitdiffhomepage
path: root/midi.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-09-22 15:32:16 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-09-22 15:32:16 +0300
commit72c38b3e2c140aab10af4ba21283e18819e1dddf (patch)
treeb79de0daa91f1441e5feb42a7a5a3f8916328732 /midi.h
parentda322583bf0113e025de6a692ec6a735a0badc99 (diff)
downloadapplause2-72c38b3e2c140aab10af4ba21283e18819e1dddf.tar.gz
EvdevStream:new() fixed opening device by name
* Iterating by /dev/input/eventX ids was too simplistic as there can easily be gaps. * Instead, we now iterate the directory using opendir(), readdir() etc. * Unfortunately, struct dirent might not be easily definable portably. (FIXME?) * Also added EvdevStream.list(), so you now longer have to invoke evtest for finding out ids and names of HID devices for EvdevStream:new().
Diffstat (limited to 'midi.h')
0 files changed, 0 insertions, 0 deletions