GithubHelp home page GithubHelp logo

Comments (5)

dgurkaynak avatar dgurkaynak commented on May 23, 2024 2

Hey guys, I have finally managed to ship Penc 1.0. It brings the support for mouse & keyboard.

Keyboard

While Penc is activated (double press cmd key + hold it):

  • Press arrow keys to do halves/quarters (just like @dkarbayev mentioned)
  • Enter key to fullscreen

Mouse support

While Penc is activated (double press cmd key + hold it):

  • Drag a window from its body to move it freely
  • Drag a window from its edges/corners to resize it freely (just like @telmofcosta mentioned)
  • Mouse wheel to resize (just like @telmofcosta mentioned)
  • Drag a window and throw it to a direction to do halves/quarters (just like trackpad swipe)
  • Double click to fullscreen
  • Right click to minimize

So closing the issue, let me know if you guys need anything else.

from penc.

dgurkaynak avatar dgurkaynak commented on May 23, 2024 1

Hmm, the main target of this app is trackpad usage as you mentioned. Supporting standard mouses would be nice feature, but not in the near future.

  • Moving windows already works with dragging w/ left button
  • Using scroll wheel to resize sounds really cool
  • What about other swipe gestures for snapping into halves/quarters?

from penc.

shiny avatar shiny commented on May 23, 2024 1

Using scroll wheel to resize sounds really cool

yup yup.
@dgurkaynak
By the way, do you accept donation, or translation for this cool project?

from penc.

telmofcosta avatar telmofcosta commented on May 23, 2024

Tbh, I don't use snap that much. And I tried it with the trackpad but it didn't feel very natural.

BetterTouchTool approach is not bad: when dragging, when the mouse pointer reaches an area near the corner (or top/bottom/left/right) of the viewport, it resizes the window and snaps it to a side/corner.

I didn't suggest this in the first place because this behavior is completely different from what Penc is doing now and my suggestion was supposed to be a small "fix".

What I really love in Penc (and why I'm using it with my mouse only to move windows) is the double-press with the modifier key: a very simple idea, pratical and it doesn't interfere with any shortcut I have. 💯

from penc.

dkarbayev avatar dkarbayev commented on May 23, 2024

@dgurkaynak what if snapping to halves was made with arrow keys (much like Windows does it), so double press Cmd and then arrow key(s)?

from penc.

Related Issues (20)

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.