Giter Site home page Giter Site logo

windows-11-virtual-desktop-animation's Introduction

Sanket Kheni

Tech-enthusiast ๐Ÿ“ˆ, big dreamer ๐Ÿš€, passionate coder & UI designer ๐Ÿง‘โ€๐Ÿ’ป. Crafting beautiful tech solutions to shape a better future ๐Ÿ’ป๐ŸŽจ.

Email Twitter LinkedIn

โš Based in Surat, India

Skills

JavaScript Kotlin Python Typescript React Svelte NextJS Tailwind Material UI NodeJS Express PostgreSQL Firebase Heroku Supabase PlanetScale Prisma tRPC

windows-11-virtual-desktop-animation's People

Contributors

akamran2001 avatar ghakopian avatar sanketkheni01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

windows-11-virtual-desktop-animation's Issues

not working

stoped working after the update
Edition Windows 11 Pro
Version 22H2
Installed on โ€Ž6/โ€Ž25/โ€Ž2023
OS build 22621.2361
Experience Windows Feature Experience Pack 1000.22674.1000.0

Default behavior of "Ctrl + Up/Down" is not being prevented

Hi! Thanks for making this utility!

I ran into the following issue.

Expectations

You should see either key code 17 (ControlLeft) or 91 (OSLeft) shown on the page when you return to the left desktop. Notably, you will not see key code 39 (ArrowRight) because Windows does not let the keyboard event pass to applications if it triggers a Windows hotkey.

I expect pressing Ctrl + Win + Down to have the same outcome. In other words, I expect the last key that I press in the combo to not result in a "key down" for other apps. I am not sure if the "key up" event should be propagated though - I didn't test this - but it should mirror the default behavior exactly, including if I release the keys in a different order compared to how I pressed them down.

Actual behavior

When you return to the left desktop, you will see key code 40 (ArrowDown), which means the browser has received all three key presses. In other words, any active application will act as if I pressed Ctrl+Down (if it doesn't check Win). This causes unwanted side-effects for me.

Environment

Other notes

It looks like you're currently passively checking if the relevant keys are pressed:

var ctrlState = GetAsyncKeyState(17);
var winState = GetAsyncKeyState(91);
var upArrowState = GetAsyncKeyState(38);
var downArrowState = GetAsyncKeyState(40);
var altKeyState = GetAsyncKeyState(18);

I'm not sure if it's possible to prevent other apps from getting key events with this approach. We might have to use WndProc or maybe call some sort of low-level Windows DLL.

Thanks again! ๐Ÿ’š

App not working at all

I'm not sure if I've not installed it correctly, I've just downloaded the .exe and installed it but it doesn't seem to be working. Is there something I might be missing?

Is it possible to add shortcuts to left and right?

Hi,

First of all, thanks for this.

I noticed you have added the shortcuts up and down to use the animations. Is it possible to add the shortcodes left and right? Examples:

  • To Left workspace: Win+Ctrl+โ†

  • To Right workspace: Win+Ctrl+โ†’

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.