Skip to content

feat: set keayboard layout functionality #140

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 118 additions & 52 deletions dotnet/MsRdpEx_App/DvcDialog.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions dotnet/MsRdpEx_App/DvcDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -375,5 +375,21 @@ private async void shutdownButton_Click(object sender, EventArgs e)

await nowClient.SystemShutdown(shutdownParams);
}

private async void prevKbdLayoutButton_Click(object sender, EventArgs e)
{
await nowClient.SessionSetKbdLayoutPrev();
}

private async void nextKbdLayoutButton_Click(object sender, EventArgs e)
{
await nowClient.SessionSetKbdLayoutNext();
}

private async void setKbdLayoutButton_Click(object sender, EventArgs e)
{
var layout = kbdLayoutInput.Text;
await nowClient.SessionSetKbdLayoutSpecific(layout);
}
}
}
2 changes: 1 addition & 1 deletion dotnet/MsRdpEx_App/MsRdpEx_App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Devolutions.NowClient" Version="2025.2.17" />
<PackageReference Include="Devolutions.NowClient" Version="2025.3.19" />
</ItemGroup>

<ItemGroup>
Expand Down