[lkml]   [2001]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH]: problem: pc_keyb.h

    > 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.

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

    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

    Have a nice fortnight
    Martin `MJ' Mares <>
    Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
    If a train station is where the train stops, what is a work station?
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:01    [W:0.020 / U:17.576 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site