21pages
89150317e1
add zero copy mode hareware codec for windows ( #6778 )
...
Signed-off-by: 21pages <pages21@163.com >
2024-01-02 16:58:10 +08:00
Sahil Yeole
445fe6e714
Feat: Wayland flatpak input support | Remote desktop portal ( #6675 )
...
* autogen portal code
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use remote desktop portal
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove clipboard portal in favour of #6586
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove clipboard portal
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use select_devices for input capture
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove embedded cursor code as not being used | return session path for input capture
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* setup rdp input
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove simulate example
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* setup rdp input raw key events + mouse movements
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix rdp raw key input
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* refact rdp raw key inpuy & fix right meta key
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* refact and support rdp layout mode key input
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* support rdp mouse clicks
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* support rdp mouse scroll
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* support rdp key sequence input
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use rdp input only when uinput is not available
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* combine rdp input and get_capturables into a single rdp request
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* rdp fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* rdp fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix rdp caps lock
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* format pipewire.rs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* format rdp_input.rs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* revert #6628 as rdp request state is now managed (better solution)
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix rdp crash on arch kde
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* rdp_input.rs improvements
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* refact request_remote_desktop
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* improve unwraps
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove unwraps
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use session references instead of clones
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
2023-12-19 10:44:58 +08:00
21pages
534bfad50f
opt codec
...
1. use src width/height to convert yuv
2. align dst yuv to avoid illegal memory access
3. init yuvfmt when new codec
4. move remote reset calls from empty conns judge to emtpy remote conns
judge
Signed-off-by: 21pages <pages21@163.com >
2023-11-03 11:52:41 +08:00
21pages
f05f86dc80
444
...
Signed-off-by: 21pages <pages21@163.com >
2023-10-30 18:46:56 +08:00
fufesou
de1005acb2
do not embed cursor on wayland
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2023-03-20 13:58:02 +08:00
fufesou
d1090fc62c
ensure init cursor embedded
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2023-01-29 12:41:16 +08:00
fufesou
c0adc14215
misspelling
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2023-01-29 12:41:16 +08:00
fufesou
b84f3ba1ee
init wayland to update var 'cursor embeded'
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2023-01-29 12:41:16 +08:00
Amy Parker
84e4389943
remove unnecessary allow block
...
Patch #2701 (609117c : "ignore style warnings in libs/scrap") was merged,
but the RustDesk team decided to later instead changed
is_cursor_embedded to uppercase (see discussion on the PR), thus no
longer triggering the warning and no longer needing the allow block.
This was changed in (b723f84 : "fix linux to mac, keyboard input"). This
patch removes the now unnecessary allowances.
Signed-off-by: Amy Parker <apark0006@student.cerritos.edu >
Cc: fufseou <shuanglongchen@yeah.net >
2023-01-05 20:32:53 -08:00
fufesou
b723f8472d
fix linux to mac, keyboard input
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2023-01-05 15:00:52 +08:00
Amy Parker
f816e53c2b
ignore style warnings in libs/scrap
...
Constant `is_cursor_embedded` does not follow the Rust standard
stylistic convention of upper-case global variables and constants. This
causes two warnings to be thrown when compiling (tested on Arch Linux,
commit = 68fda34 , Rust = 1.66.0), one each for the Wayland and X11
common modules. Since these variables are not new, their names should
not be modified; to remove the warnings, this patch allows
non-style-conforming names on these two constant declarations
specifically, suppressing the warnings. It does not affect stylistic
warnings on any other code within the project.
Signed-off-by: Amy Parker <apark0006@student.cerritos.edu >
Cc: fufesou <shuanglongchen@yeah.net >
2023-01-02 11:20:25 -08:00
fufesou
b114ebf350
fix some misspellings
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2022-12-31 21:41:16 +08:00
Sangha Lee
38f66df091
implement RGB0 #2608
2022-12-21 04:12:34 +09:00
fufesou
4d044ca57a
wayland cursor embeded
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2022-11-29 16:36:35 +08:00
fufesou
2da5401fd4
add global init and update wayland error map
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2022-10-17 21:55:26 +08:00
fufesou
d19a8fdc43
fix_capturer_trait_name_shadowing: build win
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2022-07-21 20:38:15 +08:00
fufesou
aae6e2b16b
linux_wayland_support: init merge, windows build
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2022-07-20 09:16:13 -07:00
rustdesk
c15c44788c
try out wayland
2021-07-23 17:52:38 +08:00