lkml.org 
[lkml]   [2023]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] hid: Add "Hailuck" to the list of non-apple apple keyboards
    Date
    Powzan keyboards KB750 and KB770 identify as
    "Hailuck Co.,Ltd USB Keyboard". Adding "Hailuck" to the list
    of non-apple apple keyboards fixes function keys for these models.

    Signed-off-by: Nils Tonnaett <ntonnatt@ccrma.stanford.edu>
    ---
    drivers/hid/hid-apple.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
    index d7b932925730..6664f90cecaf 100644
    --- a/drivers/hid/hid-apple.c
    +++ b/drivers/hid/hid-apple.c
    @@ -343,7 +343,8 @@ static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
    { "SONiX USB DEVICE" },
    { "Keychron" },
    { "AONE" },
    - { "GANSS" }
    + { "GANSS" },
    + { "Hailuck" }
    };

    static bool apple_is_non_apple_keyboard(struct hid_device *hdev)
    --
    2.41.0
    \
     
     \ /
      Last update: 2023-08-11 23:27    [W:4.618 / U:0.252 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site