Changeset e795203 in mainline
- Timestamp:
- 2009-08-09T15:57:43Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a4885a42
- Parents:
- c145bc2
- Location:
- uspace/srv
- Files:
-
- 5 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/Makefile
rc145bc2 re795203 35 35 include $(LIBC_PREFIX)/Makefile.toolchain 36 36 37 CFLAGS += -I. -I../ kbd/include -I../fb37 CFLAGS += -I. -I../fb 38 38 39 39 LIBS = $(LIBC_PREFIX)/libc.a … … 47 47 console.c \ 48 48 screenbuffer.c \ 49 ../kbd/generic/keybuffer.c \49 keybuffer.c \ 50 50 gcons.c 51 51 -
uspace/srv/console/console.c
rc145bc2 re795203 36 36 #include <fb.h> 37 37 #include <ipc/ipc.h> 38 #include < kbd.h>38 #include <ipc/kbd.h> 39 39 #include <io/keycode.h> 40 40 #include <ipc/fb.h> -
uspace/srv/kbd/Makefile
rc145bc2 re795203 46 46 generic/kbd.c \ 47 47 genarch/gsp.c \ 48 genarch/stroke.c \ 49 generic/keybuffer.c 48 genarch/stroke.c 50 49 51 50 ARCH_SOURCES = -
uspace/srv/kbd/generic/kbd.c
rc145bc2 re795203 38 38 #include <ipc/ipc.h> 39 39 #include <ipc/services.h> 40 #include <ipc/kbd.h> 40 41 #include <sysinfo.h> 41 42 #include <stdio.h> … … 51 52 52 53 #include <kbd.h> 53 #include <keybuffer.h>54 54 #include <kbd_port.h> 55 55 #include <kbd_ctl.h> … … 60 60 int cons_connected = 0; 61 61 int phone2cons = -1; 62 keybuffer_t keybuffer;63 62 64 63 /** Currently active modifiers. */ … … 242 241 layout[active_layout]->reset(); 243 242 244 /* Initialize key buffer */245 keybuffer_init(&keybuffer);246 247 243 async_set_client_connection(console_connection); 248 244 -
uspace/srv/kbd/include/kbd.h
rc145bc2 re795203 38 38 #define KBD_KBD_H_ 39 39 40 #include <keybuffer.h>41 #include <ipc/ipc.h>42 43 #define KBD_EVENT 102444 #define KBD_MS_LEFT 102545 #define KBD_MS_RIGHT 102646 #define KBD_MS_MIDDLE 102747 #define KBD_MS_MOVE 102848 49 typedef enum {50 KBD_YIELD = IPC_FIRST_USER_METHOD,51 KBD_RECLAIM52 } kbd_request_t;53 54 40 extern int cir_service; 55 41 extern int cir_phone;
Note:
See TracChangeset
for help on using the changeset viewer.