Skip to content

keybindings config not working #3285

@yoooooolx

Description

@yoooooolx

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

I added the following lines to sunshine.conf as the documentation said in https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/advanced_usage.html#keybindings
keybindings = [ 0x10, 0xA0, 0x11, 0xA2, 0x12, 0xA4, 0x4A, 0x4B ]
After a restart of sunshine, nothing happened. Then I tried to set always_send_scancodes to enabled or disabled, neither workd.

Expected Behavior

As far as I think, this config should remap j to k, so when I press j a k should appear on my text editor. However when I press j a j appears, and when I press k a k appears.

Additional Context

No response

Host Operating System

Windows

Operating System Version

Windows 10 Professional 22H2, version 19045.5011

Architecture

amd64/x86_64

Sunshine commit or version

Version v2024.1007.214114

Package

Windows - installer (recommended)

GPU Type

Nvidia

GPU Model

Nvidia GeForce RTX 3060 Laptop GPU

GPU Driver/Mesa Version

565.90

Capture Method

Desktop Duplication API (Windows)

Config

locale = zh
lan_encryption_mode = 1
origin_web_ui_allowed = pc
channels = 2
nvenc_realtime_hags = disabled
#always_send_scancodes = disabled
keybindings = [
  0x10, 0xA0,
  0x11, 0xA2,
  0x12, 0xA4,
  0x4A, 0x4B
]

Apps

No response

Relevant log output

No relevant log output is found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions