[edk2] [PATCH 0/6] ReadKeyStrokeEx always return key state

Ruiyu Ni posted 6 patches 6 years, 11 months ago
Failed in applying to current master (apply log)
.../Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c         |  58 +++++---
.../Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c          |   6 +-
.../Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h           |  14 +-
.../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c       |  14 +-
.../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h       |   5 +-
.../Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c         |  58 +++++---
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c |   6 +-
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h  |  14 +-
MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c             |   4 +-
MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c           | 107 ++++++++------
MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h           |  14 +-
.../Universal/Console/ConSplitterDxe/ConSplitter.c | 164 ++++++++++++++++++---
.../Universal/Console/ConSplitterDxe/ConSplitter.h |   4 +-
MdePkg/Include/Protocol/SimpleTextInEx.h           |  13 +-
14 files changed, 348 insertions(+), 133 deletions(-)
[edk2] [PATCH 0/6] ReadKeyStrokeEx always return key state
Posted by Ruiyu Ni 6 years, 11 months ago
Today's implementation only return key state when there is key.
But when user doesn't press any key, the key state cannot be
returned.

The patch changes the ReadKeyStrokeEx() to always return the
key state even there is no key pressed.

Ruiyu Ni (6):
  MdePkg/SimpleTextInEx.h: Fix comments alignment
  MdeModulePkg/ConSplitter: ReadKeyStrokeEx always return key state
  MdeModulePkg/UsbKb: ReadKeyStrokeEx always return key state
  MdeModulePkg/Ps2Kb: ReadKeyStrokeEx always return key state
  IntelFrameworkModule/Ps2Kb: ReadKeyStrokeEx always return key state
  IntelFrameworkModule/ThunkKb: ReadKeyStrokeEx always return key state

 .../Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c         |  58 +++++---
 .../Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c          |   6 +-
 .../Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h           |  14 +-
 .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c       |  14 +-
 .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h       |   5 +-
 .../Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c         |  58 +++++---
 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c |   6 +-
 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h  |  14 +-
 MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c             |   4 +-
 MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c           | 107 ++++++++------
 MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.h           |  14 +-
 .../Universal/Console/ConSplitterDxe/ConSplitter.c | 164 ++++++++++++++++++---
 .../Universal/Console/ConSplitterDxe/ConSplitter.h |   4 +-
 MdePkg/Include/Protocol/SimpleTextInEx.h           |  13 +-
 14 files changed, 348 insertions(+), 133 deletions(-)

-- 
2.15.1.windows.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel