[strace/strace] Add lirc ioctl decoding (PR #208)

Sean Young notifications at github.com
Tue Feb 1 12:00:05 UTC 2022


@seanyoung commented on this pull request.



> +		switch (value) {
+		case LIRC_MODE_RAW:
+			tprintf(", mode=raw");
+			break;
+		case LIRC_MODE_PULSE:
+			tprintf(", mode=pulse");
+			break;
+		case LIRC_MODE_MODE2:
+			tprintf(", mode=mode2");
+			break;
+		case LIRC_MODE_SCANCODE:
+			tprintf(", mode=scancode");
+			break;
+		case LIRC_MODE_LIRCCODE:
+			tprintf(", mode=lirccode");
+			break;
+		default:
+			tprintf(", mode=%d", value);
+			break;
+		}

I've done this using xlat now. This is much nicer

-- 
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/208#discussion_r796525180
You are receiving this because you are subscribed to this thread.

Message ID: <strace/strace/pull/208/review/869028193 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220201/8cd66214/attachment.htm>


More information about the Strace-devel mailing list