Thread (64 messages) 64 messages, 12 authors, 2010-04-10

Re: [RFC] What are the goals for the architecture of an in-kernel IR system?

From: Mauro Carvalho Chehab <hidden>
Date: 2010-03-25 19:01:13
Also in: linux-input, linux-media

Possibly related (same subject, not in this thread)

Pavel Machek wrote:
Hi!
quoted
This were the original plan we've discussed, back in December:
....

Seems sane.
quoted
struct keycode_table_entry {
	unsigned keycode;
	char scancode[32];	/* 32 is just an arbitrary long array - maybe shorter */
	int len;
}
What about

struct keycode_table_entry {
	unsigned keycode;
	int len;
	char scancode[];
}

? gcc extension, but commonly used around kernel.
Seems fine. Maybe we could just use "char *scancode" to avoid using a
gcc extension on a public interface.


-- 

Cheers,
Mauro
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help