Comments (6)
Note that presently pressing left and right together is equivalent to two-finger touch/swipes.
from koreader.
I support this proposal from the UX perspective. I have been using the desktop KOReader for testing for a long time and still reflexively right click for the long-press menu. It is generally a very strong muscle memory with desktop users so it is a good idea to make it work as expected.
Note that presently pressing left and right together is equivalent to two-finger touch/swipes.
In theory, this makes sense. But I just tried it with a mouse and it is very uncomfortable to draw a gesture while pressing both buttons (and I have experience from using this combination as an emulated middle button under Linux). I would be surprised if someone uses this feature daily. Probably "single finger swipes with mouse" are the edges of usability.
from koreader.
It's probably not very challenging btw. If you check how I implemented scrolling you can do something similar:
koreader/frontend/device/sdl/device.lua
Lines 197 to 239 in 1398154
from koreader.
Note that presently pressing left and right together is equivalent to two-finger touch/swipes.
This doesn't necessarily need to change to support the right click behavior as I describe, right? I wouldn't use left and right click together and I'm guessing very few people will use it or even know about it, but I don't think we'd need to remove it.
Gestures with mouse aren't fluid, but since I use Syncthing to mirror my settings config across all devices, I know the few gestures I use well and it's occasionally nice to use them with mouse. Plus I use KOReader on web browser with https://github.com/koreader/virdevenv https://github.com/zephyros-dev/docker-koreader and it comes in handy there, especially on mobile devices where using your finger is technically using a mouse.
from koreader.
This doesn't necessarily need to change to support the right click behavior as I describe, right?
Perhaps not necessarily but then you're talking about something that may well be difficult to do. ;-)
It was mostly just a comment saying it doesn't do the same thing as left click but the same thing as a finger. I wrote it that way so that it'd be possible to test two-finger actions on the emulator without a touch screen. It's not important to keep it.
from koreader.
Sounds good. I may work on this and a few other FRs I've opened after my new Linux laptop arrives and when I have some free time, if someone else doesn't beat me to it.
from koreader.
Related Issues (20)
- Vocabulary Builder doesn't open with gesture HOT 2
- What standards of reference pages are supported by KOReader? HOT 4
- How to add a new target? HOT 4
- A plugin to help debugging sync issues HOT 1
- FR: allow more gestures in screensaver
- FR: Android Save Reading Progress Image (just like Save Cover Image) for More Screensaver Options
- Does not start on Kindle Voyage HOT 14
- Night Mode causes persistent screen problems (persist after the app is closed!) HOT 2
- FR: TTS(Text-to-Speech) support
- Keyboard settings not available on NT HOT 2
- Too big indentation. I can't fix it. HOT 4
- FR: Share profile across different devices HOT 1
- Long Press on text in epub book doesnt show translate option directly HOT 2
- Book cover on the screen off HOT 2
- emulator crash HOT 9
- FR: Book Metadata Improvements (Embedded Metadata Search, Book Covers in File Search, Google Books API Integration) HOT 3
- FR: A function to save notes directly without showing Note Edit Dialog HOT 5
- Make it possible to show the remaining countdown time of a running read timer in (alternate) status bar HOT 2
- FR: ReaderFooter - why same as book margins are disallowed in alongside mode HOT 1
- Error when showing the sleep screen on Clara BW after mupdf update HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koreader.