Changeset aec2ad4 in mainline for uspace/drv/usbhid/layout.h
- Timestamp:
- 2011-02-04T11:48:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 103a3626
- Parents:
- ba5ab09 (diff), 3597dab (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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/layout.h
rba5ab09 raec2ad4 1 1 /* 2 * Copyright (c) 2010 Vojtech Horky 2 * Copyright (c) 2009 Jiri Svoboda 3 * Copyright (c) 2011 Lubos Slovak 4 * (copied from /uspace/srv/hid/kbd/include/layout.h) 3 5 * All rights reserved. 4 6 * … … 27 29 */ 28 30 29 /** @addtogroup drvusb vhc31 /** @addtogroup drvusbhid 30 32 * @{ 31 33 */ 32 34 /** @file 33 * @brief Debugging support.35 * Keyboard layout. 34 36 */ 35 #include <stdio.h>36 #include <ipc/ipc.h>37 #include <usb/debug.h>38 37 39 #include "vhcd.h" 38 #ifndef USBHID_LAYOUT_H_ 39 #define USBHID_LAYOUT_H_ 40 40 41 #include <sys/types.h> 42 #include <io/console.h> 41 43 42 /** Debug print informing of invalid call. 43 */ 44 void dprintf_inval_call(int level, ipc_call_t call, sysarg_t phone_hash) 45 { 46 dprintf(level, "phone%#x: invalid call [%u (%u, %u, %u, %u, %u)]", 47 phone_hash, 48 IPC_GET_IMETHOD(call), 49 IPC_GET_ARG1(call), IPC_GET_ARG2(call), IPC_GET_ARG3(call), 50 IPC_GET_ARG4(call), IPC_GET_ARG5(call)); 51 } 44 typedef struct { 45 void (*reset)(void); 46 wchar_t (*parse_ev)(console_event_t *); 47 } layout_op_t; 48 49 extern layout_op_t us_qwerty_op; 50 extern layout_op_t us_dvorak_op; 51 extern layout_op_t cz_op; 52 53 #endif 52 54 53 55 /**
Note:
See TracChangeset
for help on using the changeset viewer.