Ignore:
Timestamp:
2006-08-04T15:52:02Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cfffb290
Parents:
b4fa652
Message:

Add scan code map for Sun keyboard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/i8042/i8042.h

    rb4fa652 rb006a2c8  
    2727 */
    2828
    29  /** @addtogroup genarch       
     29/** @addtogroup genarch
    3030 * @{
    3131 */
     
    3636#define __I8042_H__
    3737
    38 /** Scancodes. */
    39 #define SC_ESC          0x01
    40 #define SC_BACKSPACE    0x0e
    41 #define SC_LSHIFT       0x2a
    42 #define SC_RSHIFT       0x36
    43 #define SC_CAPSLOCK     0x3a
    44 #define SC_SPEC_ESCAPE  0xe0
    45 #define SC_LEFTARR      0x4b
    46 #define SC_RIGHTARR     0x4d
    47 #define SC_UPARR        0x48
    48 #define SC_DOWNARR      0x50
    49 #define SC_DELETE       0x53
    50 #define SC_HOME         0x47
    51 #define SC_END          0x4f
     38#ifdef CONFIG_I8042_PC
     39#include <genarch/i8042/scanc_pc.h>
     40#endif
     41#ifdef CONFIG_I8042_SUN
     42#include <genarch/i8042/scanc_sun.h>
     43#endif
     44
     45#define SPECIAL         '?'
     46
     47extern char sc_primary_map[];
     48extern char sc_secondary_map[];
    5249
    5350extern void i8042_init(void);
     
    5855#endif
    5956
    60  /** @}
     57/** @}
    6158 */
    62 
Note: See TracChangeset for help on using the changeset viewer.