Subversion Repositories HelenOS

Rev

Rev 4348 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4348 Rev 4691
Line 25... Line 25...
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup kbdgen generic
29
/** @addtogroup kbdgen generic
30
 * @brief   HelenOS generic uspace keyboard handler.
30
 * @brief HelenOS generic uspace keyboard handler.
31
 * @ingroup  kbd
31
 * @ingroup kbd
32
 * @{
32
 * @{
33
 */
33
 */
34
/** @file
34
/** @file
35
 */
35
 */
36
 
36
 
37
#ifndef KBD_LAYOUT_H_
37
#ifndef KBD_LAYOUT_H_
38
#define KBD_LAYOUT_H_
38
#define KBD_LAYOUT_H_
39
 
39
 
40
#include <kbd/kbd.h>
-
 
41
#include <sys/types.h>
40
#include <sys/types.h>
-
 
41
#include <io/console.h>
42
 
42
 
43
typedef struct {
43
typedef struct {
44
    void (*reset)(void);
44
    void (*reset)(void);
45
    wchar_t (*parse_ev)(kbd_event_t *);
45
    wchar_t (*parse_ev)(console_event_t *);
46
} layout_op_t;
46
} layout_op_t;
47
 
47
 
48
extern layout_op_t us_qwerty_op;
48
extern layout_op_t us_qwerty_op;
49
extern layout_op_t us_dvorak_op;
49
extern layout_op_t us_dvorak_op;
50
extern layout_op_t cz_op;
50
extern layout_op_t cz_op;
51
 
51
 
52
#endif
52
#endif
53
 
53
 
54
/**
54
/**
55
 * @}
55
 * @}
56
 */
56
 */
57
 
-