diff --git a/README.md b/README.md index 0aa4545..e6967ba 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,9 @@ Documentation Building ======== +[![Linux GCC Build Status](https://img.shields.io/github/actions/workflow/status/daniel-starke/vkvm/build.yml?label=Linux)](https://github.com/daniel-starke/vkvm/actions/workflows/build.yml) +[![Windows Visual Studio Build Status](https://img.shields.io/appveyor/ci/danielstarke/vkvm/main.svg?label=Windows)](https://ci.appveyor.com/project/danielstarke/vkvm) + The following dependencies are given. Controller: - C99 diff --git a/appveyor.yml b/appveyor.yml index 59d5e8f..71d7dd5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,4 +20,4 @@ build_script: artifacts: - path: %APPVEYOR_BUILD_FOLDER%\bin\vkvm.exe - name: VKVM \ No newline at end of file + name: vkvm-binaries diff --git a/doc/protocol.md b/doc/protocol.md index 174bc19..7ec5cd6 100644 --- a/doc/protocol.md +++ b/doc/protocol.md @@ -360,7 +360,7 @@ The following request/response messages are defined including unsolicited respon |SET_MOUSE_SCROLL |WHEEL |- | |USB state update interrupt²|- |USB | |LED update interrupt³ |- |LED | -|DEBUG message ⁴ |- || +|DEBUG message⁴ |- || 1\) The maximum frame size is 256 bytes which limits the maximum number of keys/buttons per request. 2\) The USB state update interrupt has the sequence number 0 and response type I_USB_STATE_UPDATE. diff --git a/src/pcf/video/CaptureVideo4Linux2.ipp b/src/pcf/video/CaptureVideo4Linux2.ipp index e1de582..d290b45 100644 --- a/src/pcf/video/CaptureVideo4Linux2.ipp +++ b/src/pcf/video/CaptureVideo4Linux2.ipp @@ -2,7 +2,7 @@ * @file CaptureVideo4Linux2.ipp * @author Daniel Starke * @date 2020-01-12 - * @version 2023-10-26 + * @version 2023-11-08 */ #include #include @@ -814,7 +814,7 @@ private: int n = 0, sel = -1; for (menuQuery.index = __u32(ctrlQuery.minimum); menuQuery.index <= __u32(ctrlQuery.maximum); menuQuery.index++, n++) { if (xEINTR(ioctl, this->videoFd, VIDIOC_QUERYMENU, &menuQuery) < 0) continue; - optionValue->add(reinterpret_cast(menuQuery.name), 0, NULL, static_cast(menuQuery.index)); + optionValue->add(reinterpret_cast(menuQuery.name), 0, NULL, reinterpret_cast(menuQuery.index)); if (menuQuery.index == __u32(op->oldValue)) sel = n; } if (sel >= 0) optionValue->value(sel);