diff options
author | B. Watson <urchlay@slackware.uk> | 2025-05-06 15:40:42 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-05-06 15:40:42 -0400 |
commit | 5da47051f0c1e03377f77cb2979610594d2629eb (patch) | |
tree | 3039537fc7deca955c157ab306bd38eab89621c8 /marsond.c | |
parent | ca1647767f188f09ab7e3ad9b6260e98f6af9151 (diff) | |
download | marsond-5da47051f0c1e03377f77cb2979610594d2629eb.tar.gz |
commentary and README.
Diffstat (limited to 'marsond.c')
-rw-r--r-- | marsond.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -270,6 +270,8 @@ int main(int argc, char **argv) { die("write to /dev/uinput failed: %s", strerror(errno)); } + /* I was hoping the return value of this ioctl would be the + device number, but it's just 0 for no error. */ if(ioctl(outfd, UI_DEV_CREATE) >= 0) { debug("created virtual keyboard device"); } else { |