summaryrefslogtreecommitdiff
path: root/Features/Intel/UserInterface/VirtualKeyboardFeaturePkg
AgeCommit message (Collapse)AuthorFilesLines
2026-04-22VirtualKeyboardFeaturePkg: convert SimpleIcon and FullIcon BMPs to palettedJames Lu2-0/+0
Follow-up to the 4-bit keyboard BMP conversion in PR #969 for the remaining two icon assets in VirtualKeyboardDxe. SimpleIcon.bmp uses only 2 unique colors (pure black/white); convert to 1-bit paletted BMP for a byte-level lossless reduction. FullIcon.bmp uses 198 unique colors; convert to 8-bit paletted BMP for a byte-level lossless reduction (198 < 256 palette entries, no quantization required). EDK2 BaseBmpSupportLib already supports 1-bit and 8-bit uncompressed BMP (TranslateBmpToGopBlt handles both BitsPerPixel values). Per-file size reduction (24-bit -> target): SimpleIcon.bmp: 2814 -> 182 (1-bit) FullIcon.bmp: 5454 -> 2878 (8-bit) Pixel dimensions and visual layout are unchanged. Signed-off-by: James Lu <james.lu@intel.com>
2026-04-02VirtualKeyboardFeaturePkg: convert keyboard BMPs to 4-bit paletteJames Lu3-0/+0
Convert the three VirtualKeyboardDxe keyboard bitmap assets from 24-bit BMP to 4-bit paletted BMP. Each bitmap uses fewer than 16 unique colors after median-cut quantization, so the 16-color palette is sufficient. Pixel dimensions and visual layout are unchanged. EDK2 BaseBmpSupportLib already supports 4-bit uncompressed BMP (TranslateBmpToGopBlt handles BitsPerPixel==4). Per-file size reduction (24-bit -> 4-bit): CapitalLetterKeyboard.bmp: 330454 -> 55318 DigitKeyboard.bmp: 330454 -> 55318 SimpleKeyboard.bmp: 30054 -> 5318 Signed-off-by: James Lu <james.lu@intel.com>
2024-11-28Pkg-Module: Features/VirtualKeyboardDxe PART 2Darbin Reyes1-1/+1
The Keyboard.c driver did not include ScanCodes like F1,F2,F12,etc. and UnicodeChars like Backspace, Tab in VK_NOTIFY NotifyList which is why these keys were not getting registered and not getting pushed in the KeyBuffer stack which resulted in undefined behavior of continuous backspace and not recognizing the relevant key push after the buffer overflow condition. Signed-off-by: Darbin Reyes <darbin.reyes@intel.com>
2024-11-28Pkg-Module: Features/VirtualKeyboardDxeDarbin Reyes1-11/+37
The Keyboard.c driver did not include ScanCodes like F1,F2,F12,etc. and UnicodeChars like Backspace, Tab in VK_NOTIFY NotifyList which is why these keys were not getting registered and not getting pushed in the KeyBuffer stack which resulted in undefined behavior of continuous backspace and not recognizing the relevant key push after the buffer overflow condition Signed-off-by: Contributor Name <darbin.reyes@intel.com>
2024-04-15VirtualKeyboardFeaturePkg: Update the comments of ReadKeyStroke and ↵Qingyu2-0/+4
ReadKeyStrokeEx - mantis #2131 Refer to Uefi spec 2.10 section 12.3.3, Add a new retval EFI_UNSUPPORTED to EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.ReadKeyStrokeEx and EFI_SIMPLE_TEXT_INPUT_PROTOCOL.ReadKeyStroke(). Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Qingyu <qingyu.shang@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2023-01-13Features/Intel: Prepare for edk2-platforms CIIsaac Oram2-1/+8
Fix some build issues with GCC5 targets Add a Readme.md for AdvancedFeaturePkg Add VS2019, CLANGPDB, and GCC5 build targets to Readme.md for each feature Cc: Sai Chaganty <rangasai.v.chaganty@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Eric Dong <eric.dong@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Isaac Oram <isaac.w.oram@intel.com> Reviewed-by: Sai Chaganty <rangasai.v.chaganty@intel.com>
2022-09-01Features/Intel: Reduce duplicate codeIsaac Oram1-7/+6
Enable simpler initialation of the MinPlatformPkg feature selection PCD. Most features and boards don't benefit from initializing these. Cc: Sai Chaganty <rangasai.v.chaganty@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Isaac Oram <isaac.w.oram@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2022-08-03VirtualKeyboardFeaturePkg: Pre OS virtual keyboard touch response are very ↵KalaiyarasanX Thangaraj2-0/+18
slow with I2C touch panel On one Touch, multiple Reads happend and this reads varying based on Key Press time. Resulting in Multiple key press update on screen. This condition avoids KeyPressed skips resulting due to faster key press and update only on valid key press. Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Madhan Pethaiyan <madhan.pethaiyan@intel.com> Cc: Kathappan Esakkithevar <kathappan.esakkithevar@intel.com> Cc: Madhusudhan Balaji <madhusudhan.balaji@intel.com> Signed-off-by: KalaiyarasanX Thangaraj <kalaiyarasanx.thangaraj@intel.com> Reviewed-by:Balaji, Madhusudhan madhusudhan.balaji@intel.com Reviewed-by: Dandan Bi <dandan.bi@intel.com>
2022-07-21VirtualKeyboardFeaturePkg: Pre OS virtual keyboard touch are not working ↵Thangaraj, KalaiyarasanX1-1/+1
with I2C touch panel Vktimer event Task Priority Level changed to TPL_CALLBACK from TPL_NOTIFY to fix Virtual Keyboard touch slowness issues and touch not working issues Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Madhan Pethaiyan <madhan.pethaiyan@intel.com> Cc: Kathappan Esakkithevar <kathappan.esakkithevar@intel.com> Cc: Madhusudhan Balaji <madhusudhan.balaji@intel.com> Signed-off-by: KalaiyarasanX Thangaraj <kalaiyarasanx.thangaraj@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
2022-02-03VirtualKeyboardFeaturePkg: Add feature enable PCDIsaac Oram2-2/+7
VirtualKeyboard missing feature enable PCD. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Isaac Oram <isaac.w.oram@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2022-02-03VirtualKeyboardFeaturePkg: Use MinPlatformPkg build include filesIsaac Oram2-55/+25
Use the MinPlatformPkg common core build files to build libraries needed by this feature. Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Isaac Oram <isaac.w.oram@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2022-02-03VirtualKeyboardFeaturePkg: Fix all relative package pathsIsaac Oram2-2/+2
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Dandan Bi <dandan.bi@intel.com> Signed-off-by: Isaac Oram <isaac.w.oram@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2021-03-31Features/UserInterface: Consume MdeLibs.dsc.inc for RegisterFilterLibDandan Bi1-1/+4
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
2020-05-09Features/Intel/UserInterface: Add VirtualKeyboardFeaturePkgTan, Ming19-0/+4775
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2603 It add a VirtualKeyboardDxe driver. It is used with a touch panel, simulate a keyboard in the screen. Signed-off-by: Ming Tan <ming.tan@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>