lkml.org 
[lkml]   [2001]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH]: problem: pc_keyb.h
Hello Martin!


> > Why can't I include pc_keyb.h directtly into a C program ?
> > I need that for a part of GPM.
>
> pc_keyb.h is a kernel include, thus it uses the kernel set of types
> which unfortunately collides badly with the types used in user space.

Oh, didn't know that.

> The best solution is to create your own include and copy the
> relevant parts of pc_keyb.h there.

hmm.. I just use some definations:

AUX_*

> BTW what exactly do you plan to do? Sending keyboard controller
> or mouse controller commands from user space is probably very
> dangerous as it's going to collide with the commands sent by the
> kernel.

It's gpm what I am working on. I am the current maintainer.
We get the mouse id.

Martin, can't you add the line I sent in the last mail ?
This would make it possible to include
pc_keyb.h into many programs directly.

Nico

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:01    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog