From a293e6aa8ab1c5b74c167c858ace173fa978b919 Mon Sep 17 00:00:00 2001 From: Matthias Fulz Date: Sun, 10 Apr 2022 02:15:25 +0200 Subject: [PATCH] Added hw suport error --- qmk-err.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qmk-err.go b/qmk-err.go index 617d6c5..cfc71cc 100644 --- a/qmk-err.go +++ b/qmk-err.go @@ -9,6 +9,7 @@ const ( QENC_ERR_NOT_ALLOWED QEncErr = 0x03 QENC_ERR_INVALID QEncErr = 0x04 QENC_ERR_RETRY QEncErr = 0x05 + QENC_ERR_HW_SUPPORT QEncErr = 0x06 // device retry timeout QENC_ERR_TIMEOUT QEncErr = 0xFF ) @@ -29,6 +30,8 @@ func (e *QEncError) Error() string { return "Invalid data" case QENC_ERR_RETRY: return "Retry request" + case QENC_ERR_HW_SUPPORT: + return "Not supported by hardware" case QENC_ERR_TIMEOUT: return "Timeout reached" default: