15.03.2015 Views

SetupDesignGuide.pdf - Firmware Encoding Index

SetupDesignGuide.pdf - Firmware Encoding Index

SetupDesignGuide.pdf - Firmware Encoding Index

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Setup Design Guide<br />

DRAFT<br />

Table 3-2. EFI Scan Codes for SIMPLE_INPUT_INTERFACE (continued)<br />

EFI Scan Code Description<br />

0x000b Function 1.<br />

0x000c Function 2.<br />

0x000d Function 3.<br />

0x000e Function 4.<br />

0x000f Function 5.<br />

0x0010 Function 6.<br />

0x0011 Function 7.<br />

0x0012 Function 8.<br />

0x0013 Function 9.<br />

0x0014 Function 10.<br />

0x0015 Function 11. (Newly Proposed)<br />

0x0016 Function 12. (Newly Proposed)<br />

0x0017 Escape.<br />

Table 3- 3 Additional EFI Scan Codes for SIMPLE_INPUT_INTERFACE<br />

0x2000 Shift. (Newly Proposed)<br />

0x4000 Control. (Newly Proposed)<br />

0x8000 Alternate. (Newly Proposed)<br />

The following example shows the new definitions for the EFI Scan Codes, and provides the facility to<br />

export varying modifier states on non-printing characters.<br />

#define SCAN_F11<br />

#define SCAN_F12<br />

0x0015<br />

0x0016<br />

//<br />

// Bit 13 on = Shift<br />

// Bit 14 on = Control<br />

// Bit 15 on = Alt<br />

//<br />

// This allows for interpretation of Shift F10 for<br />

// the scan code by seeing a scan code of 0x2014<br />

// As it allows a Shift-Alt-F10 yielding a scan code of 0xA014<br />

//<br />

// Additionally, a Shift-Tab would be interpreted by reading<br />

// the EFI Scan code as a 0x2000, and a Unicode value of 0x0009.<br />

//<br />

#define SCAN_SHIFT<br />

0x2000<br />

#define SCAN_CONTROL<br />

0x4000<br />

#define SCAN_ALT<br />

0x8000<br />

79

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!