rocksdanister / lively

Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
https://rocksdanister.com/lively
GNU General Public License v3.0
14.81k stars 1.05k forks source link

Pass events to applications running as background. #1462

Open ranmacar opened 1 year ago

ranmacar commented 1 year ago

Is your feature request related to a problem? Please describe.

I've tried running an application as the background and it didn't respond to any mouse / keyboard events.

Describe the solution you'd like

Lively should pass events onto background apps like it does with background webpages.

rocksdanister commented 1 year ago

Its already doing it, what is the application type? (electron, wpf.. etc)

ranmacar commented 1 year ago

I've tried it with the default neutralino app (https://neutralino.js.org/). Electron would have worked? What's the requirement for this to work?

rocksdanister commented 1 year ago

I only tested with some native frameworks and games (webview and cefsharp has custom code.)

Since its application you can always write your own input hooks instead.

marco-bertani commented 1 year ago

Hi, I had a similar issue with Wpf and WinForms. In particular with WinForms I am able to pass keyboard event, since the only button control I placed in the main window is selected by default and I can generate events pressing Enter with my keyboard.

Have you tried any of those two frameworks?