This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit a8cbac54b8535257e962f6c8d7ed00b9316388d3
Author: raiden00pl <[email protected]>
AuthorDate: Thu Nov 19 13:05:29 2026 +0100

    drivers/input/virtio_key_decode: Decode the bracket keys as '[' and ']'.
    
    KEY_LEFTBRACE and KEY_RIGHTBRACE are the "[ {" and "] }" keys, but
    they were decoded as '(' and ')'.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: raiden00pl <[email protected]>
---
 drivers/input/virtio_key_decode.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/virtio_key_decode.c 
b/drivers/input/virtio_key_decode.c
index 4e9fd7879cf..3f3dee9ff7c 100644
--- a/drivers/input/virtio_key_decode.c
+++ b/drivers/input/virtio_key_decode.c
@@ -198,9 +198,9 @@ uint32_t keyboard_translate_virtio_code(uint16_t keycode, 
bool *special)
       case KEY_P:
         return 'p';
       case KEY_LEFTBRACE:
-        return '(';
+        return '[';
       case KEY_RIGHTBRACE:
-        return ')';
+        return ']';
       case KEY_A:
         return 'a';
       case KEY_S:

Reply via email to