Changeset 5f88293 in mainline for uspace/srv
- Timestamp:
- 2011-06-12T15:44:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60e5a856
- Parents:
- af897ff0
- Location:
- uspace/srv/hid
- Files:
-
- 1 edited
- 28 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/console/console.c
raf897ff0 r5f88293 34 34 35 35 #include <libc.h> 36 #include <ipc/ kbd.h>36 #include <ipc/input.h> 37 37 #include <io/keycode.h> 38 38 #include <ipc/mouse.h> … … 157 157 static void kbd_yield(void) 158 158 { 159 async_obsolete_req_0_0(kbd_phone, KBD_YIELD);159 async_obsolete_req_0_0(kbd_phone, INPUT_YIELD); 160 160 } 161 161 162 162 static void kbd_reclaim(void) 163 163 { 164 async_obsolete_req_0_0(kbd_phone, KBD_RECLAIM);164 async_obsolete_req_0_0(kbd_phone, INPUT_RECLAIM); 165 165 } 166 166 … … 444 444 445 445 switch (IPC_GET_IMETHOD(call)) { 446 case KBD_EVENT:446 case INPUT_EVENT: 447 447 /* Got event from keyboard driver. */ 448 448 retval = 0; -
uspace/srv/hid/input/Makefile
raf897ff0 r5f88293 35 35 36 36 EXTRA_CFLAGS = -Iinclude 37 BINARY = kbd37 BINARY = input 38 38 39 39 -include $(COMMON_MAKEFILE) … … 44 44 45 45 SOURCES = \ 46 generic/ kbd.c \46 generic/input.c \ 47 47 genarch/gsp.c \ 48 48 genarch/stroke.c \ -
uspace/srv/hid/input/ctl/apple.c
raf897ff0 r5f88293 28 28 29 29 /** @addtogroup kbd_ctl 30 * @ingroup kbd30 * @ingroup input 31 31 * @{ 32 32 */ -
uspace/srv/hid/input/ctl/gxe_fb.c
raf897ff0 r5f88293 28 28 29 29 /** @addtogroup kbd_ctl 30 * @ingroup kbd30 * @ingroup input 31 31 * @{ 32 32 */ -
uspace/srv/hid/input/ctl/pc.c
raf897ff0 r5f88293 28 28 29 29 /** @addtogroup kbd_ctl 30 * @ingroup kbd30 * @ingroup input 31 31 * @{ 32 32 */ -
uspace/srv/hid/input/ctl/stty.c
raf897ff0 r5f88293 28 28 29 29 /** @addtogroup kbd_ctl 30 * @ingroup kbd30 * @ingroup input 31 31 * @{ 32 32 */ -
uspace/srv/hid/input/ctl/sun.c
raf897ff0 r5f88293 29 29 30 30 /** @addtogroup kbd_ctl 31 * @ingroup kbd31 * @ingroup input 32 32 * @{ 33 33 */ -
uspace/srv/hid/input/genarch/gsp.c
raf897ff0 r5f88293 29 29 /** 30 30 * @addtogroup kbdgen generic 31 * @ingroup kbd31 * @ingroup input 32 32 * @{ 33 33 */ -
uspace/srv/hid/input/genarch/stroke.c
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbd29 /** @addtogroup input 30 30 * @{ 31 31 */ -
uspace/srv/hid/input/generic/input.c
raf897ff0 r5f88293 29 29 30 30 /** 31 * @addtogroup kbdgen generic32 * @brief HelenOS generic uspace keyboard handler.33 * @ingroup kbd31 * @addtogroup inputgen generic 32 * @brief HelenOS input server. 33 * @ingroup input 34 34 * @{ 35 35 */ … … 39 39 #include <adt/list.h> 40 40 #include <ipc/services.h> 41 #include <ipc/ kbd.h>41 #include <ipc/input.h> 42 42 #include <sysinfo.h> 43 43 #include <stdio.h> … … 175 175 ev.c = layout[active_layout]->parse_ev(&ev); 176 176 177 async_obsolete_msg_4(client_phone, KBD_EVENT, ev.type, ev.key, ev.mods, ev.c);177 async_obsolete_msg_4(client_phone, INPUT_EVENT, ev.type, ev.key, ev.mods, ev.c); 178 178 } 179 179 … … 208 208 retval = 0; 209 209 break; 210 case KBD_YIELD:210 case INPUT_YIELD: 211 211 kbd_devs_yield(); 212 212 retval = 0; 213 213 break; 214 case KBD_RECLAIM:214 case INPUT_RECLAIM: 215 215 kbd_devs_reclaim(); 216 216 retval = 0; … … 416 416 int main(int argc, char **argv) 417 417 { 418 printf("%s: HelenOS Keyboardservice\n", NAME);418 printf("%s: HelenOS input service\n", NAME); 419 419 420 420 sysarg_t fhc; … … 466 466 /** 467 467 * @} 468 */ 468 */ -
uspace/srv/hid/input/include/gsp.h
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbdgen generic29 /** @addtogroup inputgen generic 30 30 * @brief Generic scancode parser. 31 * @ingroup kbd31 * @ingroup input 32 32 * @{ 33 */ 33 */ 34 34 /** @file 35 35 */ -
uspace/srv/hid/input/include/kbd.h
raf897ff0 r5f88293 28 28 */ 29 29 30 /** @addtogroup kbdgen generic31 * @brief HelenOS generic uspace keyboard handler.32 * @ingroup kbd30 /** @addtogroup inputgen generic 31 * @brief HelenOS input server. 32 * @ingroup input 33 33 * @{ 34 34 */ … … 42 42 #include <bool.h> 43 43 44 #define NAME " kbd"44 #define NAME "input" 45 45 #define NAMESPACE "hid_in" 46 46 -
uspace/srv/hid/input/include/kbd_ctl.h
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbdgen generic30 * @brief HelenOS generic uspace keyboard handler.31 * @ingroup kbd29 /** @addtogroup inputgen generic 30 * @brief Keyboard controller driver interface. 31 * @ingroup input 32 32 * @{ 33 */ 33 */ 34 34 /** @file 35 35 */ -
uspace/srv/hid/input/include/kbd_port.h
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbdgen generic30 * @brief HelenOS generic uspace keyboard handler.31 * @ingroup kbd29 /** @addtogroup inputgen generic 30 * @brief Keyboard port driver interface. 31 * @ingroup input 32 32 * @{ 33 */ 33 */ 34 34 /** @file 35 35 */ -
uspace/srv/hid/input/include/layout.h
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbdgen generic30 * @brief HelenOS generic uspace keyboard handler.31 * @ingroup kbd29 /** @addtogroup inputgen generic 30 * @brief Keyboard layout interface. 31 * @ingroup input 32 32 * @{ 33 33 */ -
uspace/srv/hid/input/include/stroke.h
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbdgen generic29 /** @addtogroup inputgen generic 30 30 * @brief Generic scancode parser. 31 * @ingroup kbd31 * @ingroup input 32 32 * @{ 33 33 */ -
uspace/srv/hid/input/layout/cz.c
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbd29 /** @addtogroup input 30 30 * @brief Czech QWERTZ layout. 31 31 * @{ -
uspace/srv/hid/input/layout/us_dvorak.c
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbd29 /** @addtogroup input 30 30 * @brief US Dvorak Simplified Keyboard layout. 31 31 * @{ -
uspace/srv/hid/input/layout/us_qwerty.c
raf897ff0 r5f88293 27 27 */ 28 28 29 /** @addtogroup kbd29 /** @addtogroup input 30 30 * @brief US QWERTY layout. 31 31 * @{ 32 */ 32 */ 33 33 34 34 #include <kbd.h> -
uspace/srv/hid/input/port/adb.c
raf897ff0 r5f88293 63 63 static kbd_dev_t *kbd_dev; 64 64 static int dev_phone; 65 66 #define NAME "kbd"67 65 68 66 static int adb_port_init(kbd_dev_t *kdev)
Note:
See TracChangeset
for help on using the changeset viewer.