Changeset d900699 in mainline for uspace/srv/hid/input/include/mouse.h


Ignore:
Timestamp:
2011-06-17T16:48:53Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3a605be
Parents:
df8110d3 (diff), 98caf49 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/include/mouse.h

    rdf8110d3 rd900699  
    11/*
    2  * Copyright (c) 2009 Jiri Svoboda
     2 * Copyright (c) 2011 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup kbdgen generic
    30  * @brief       HelenOS generic uspace keyboard handler.
    31  * @ingroup  kbd
     29/** @addtogroup inputgen generic
     30 * @brief Mouse device handling.
     31 * @ingroup input
    3232 * @{
    33  */ 
     33 */
    3434/** @file
    3535 */
    3636
    37 #ifndef KBD_PORT_H_
    38 #define KBD_PORT_H_
     37#ifndef MOUSE_H_
     38#define MOUSE_H_
    3939
    40 #include <sys/types.h>
     40#include <adt/list.h>
    4141
    42 extern int kbd_port_init(void);
    43 extern void kbd_port_yield(void);
    44 extern void kbd_port_reclaim(void);
    45 extern void kbd_port_write(uint8_t);
     42typedef struct mouse_dev {
     43        /** Link to mouse_devs list */
     44        link_t mouse_devs;
     45
     46        /** Path to the device */
     47        const char *dev_path;
     48} mouse_dev_t;
     49
     50int mouse_add_dev(const char *dev_path);
    4651
    4752#endif
     
    4954/**
    5055 * @}
    51  */
    52 
     56 */
Note: See TracChangeset for help on using the changeset viewer.