1 Commits

Author SHA1 Message Date
dependabot[bot] 23606ea3a7 Bump nanors/deps/simde from 595b743 to 1c68d9a
CI / Build (-A ARM64, windows-11-arm) (push) Cancelled after 0s
CI / Build (-A x64, windows-latest) (push) Cancelled after 0s
CI / Build (clang, -DUSE_MBEDTLS=ON, clang++, ubuntu-latest, sudo apt install -y libmbedtls-dev) (push) Cancelled after 0s
CI / Build (clang, clang++, ubuntu-24.04-arm) (push) Cancelled after 0s
CI / Build (clang, clang++, ubuntu-latest) (push) Cancelled after 0s
CI / Build (gcc, -DUSE_MBEDTLS=ON, g++, ubuntu-latest, sudo apt install -y libmbedtls-dev) (push) Cancelled after 0s
CI / Build (gcc, g++, ubuntu-24.04-arm) (push) Cancelled after 0s
CI / Build (gcc, g++, ubuntu-latest) (push) Cancelled after 0s
CI / Build (macos, -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl, macos-latest) (push) Cancelled after 0s
Bumps [nanors/deps/simde](https://github.com/simd-everywhere/simde-no-tests) from `595b743` to `1c68d9a`.
- [Release notes](https://github.com/simd-everywhere/simde-no-tests/releases)
- [Commits](https://github.com/simd-everywhere/simde-no-tests/compare/595b743dcebc05756244a66dcd78e9d64c07b3b7...1c68d9ad60bf63f3fb527c4ee3b2319d828ffcc6)

---
updated-dependencies:
- dependency-name: nanors/deps/simde
  dependency-version: 1c68d9ad60bf63f3fb527c4ee3b2319d828ffcc6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-29 05:14:06 +00:00
4 changed files with 4 additions and 23 deletions
+1 -2
View File
@@ -168,8 +168,7 @@ typedef struct _SS_CONTROLLER_TOUCH_PACKET {
NV_INPUT_HEADER header;
uint8_t controllerNumber;
uint8_t eventType;
uint8_t zero; // Alignment/reserved
uint8_t touchpadIndex;
uint8_t zero[2]; // Alignment/reserved
uint32_t pointerId;
netfloat x;
netfloat y;
+2 -12
View File
@@ -1435,11 +1435,6 @@ int LiSendControllerArrivalEvent(uint8_t controllerNumber, uint16_t activeGamepa
// Sunshine supports up to 16 controllers
controllerNumber %= MAX_GAMEPADS;
// Always set the older touchpad cap if we have dual touchpads
if (capabilities & LI_CCAP_DUAL_TOUCHPAD) {
capabilities |= LI_CCAP_TOUCHPAD;
}
// The arrival event is only supported by Sunshine
if (IS_SUNSHINE()) {
holder = allocatePacketHolder(0);
@@ -1471,7 +1466,7 @@ int LiSendControllerArrivalEvent(uint8_t controllerNumber, uint16_t activeGamepa
return LiSendMultiControllerEvent(controllerNumber, activeGamepadMask, 0, 0, 0, 0, 0, 0, 0);
}
int LiSendControllerTouchEvent2(uint8_t controllerNumber, uint8_t eventType, uint8_t touchpadIndex, uint32_t pointerId, float x, float y, float pressure) {
int LiSendControllerTouchEvent(uint8_t controllerNumber, uint8_t eventType, uint32_t pointerId, float x, float y, float pressure) {
PPACKET_HOLDER holder;
int err;
@@ -1503,8 +1498,7 @@ int LiSendControllerTouchEvent2(uint8_t controllerNumber, uint8_t eventType, uin
holder->packet.controllerTouch.header.magic = LE32(SS_CONTROLLER_TOUCH_MAGIC);
holder->packet.controllerTouch.controllerNumber = controllerNumber;
holder->packet.controllerTouch.eventType = eventType;
memset(&holder->packet.controllerTouch.zero, 0, sizeof(holder->packet.controllerTouch.zero));
holder->packet.controllerTouch.touchpadIndex = touchpadIndex;
memset(holder->packet.controllerTouch.zero, 0, sizeof(holder->packet.controllerTouch.zero));
holder->packet.controllerTouch.pointerId = LE32(pointerId);
floatToNetfloat(x, holder->packet.controllerTouch.x);
floatToNetfloat(y, holder->packet.controllerTouch.y);
@@ -1520,10 +1514,6 @@ int LiSendControllerTouchEvent2(uint8_t controllerNumber, uint8_t eventType, uin
return err;
}
int LiSendControllerTouchEvent(uint8_t controllerNumber, uint8_t eventType, uint32_t pointerId, float x, float y, float pressure) {
return LiSendControllerTouchEvent2(controllerNumber, eventType, 0, pointerId, x, y, pressure);
}
int LiSendControllerMotionEvent(uint8_t controllerNumber, uint8_t motionType, float x, float y, float z) {
PPACKET_HOLDER holder;
int err;
-8
View File
@@ -781,7 +781,6 @@ int LiSendMultiControllerEvent(short controllerNumber, short activeGamepadMask,
#define LI_CCAP_GYRO 0x20 // Can report gyroscope events via LiSendControllerMotionEvent()
#define LI_CCAP_BATTERY_STATE 0x40 // Reports battery state via LiSendControllerBatteryEvent()
#define LI_CCAP_RGB_LED 0x80 // Can set RGB LED state via ConnListenerSetControllerLED()
#define LI_CCAP_DUAL_TOUCHPAD 0x100 // Reports touchpad events from 2 separate touchpads
int LiSendControllerArrivalEvent(uint8_t controllerNumber, uint16_t activeGamepadMask, uint8_t type,
uint32_t supportedButtonFlags, uint16_t capabilities);
@@ -795,13 +794,6 @@ int LiSendControllerArrivalEvent(uint8_t controllerNumber, uint16_t activeGamepa
// and check for the LI_FF_CONTROLLER_TOUCH_EVENTS flag.
int LiSendControllerTouchEvent(uint8_t controllerNumber, uint8_t eventType, uint32_t pointerId, float x, float y, float pressure);
// This function is similar to LiSendControllerTouchEvent(), but it allows the touchpad index to be
// provided for use with controllers that have multiple touchpads (like the Steam Controller).
//
// The only valid touchpad indices are currently 0 (support indicated by LI_CCAP_TOUCHPAD) and 1
// (support indicated by LI_CCAP_DUAL_TOUCHPAD).
int LiSendControllerTouchEvent2(uint8_t controllerNumber, uint8_t eventType, uint8_t touchpadIndex, uint32_t pointerId, float x, float y, float pressure);
// This function allows clients to send controller-associated motion events to a supported host.
//
// For power and performance reasons, motion sensors should not be enabled unless the host has