Discussion:
Patch : cursor follow the mouse
Sébastien Dailly
2014-03-23 11:45:00 UTC
Permalink
Hello,

This is another patch for CF, it let the cursor follow the mouse : less click when you play :), just move the mouse !
--
Sébastien
Юрий Константинов.
2014-03-23 13:05:31 UTC
Permalink
Man, CF needs to have more organized mail subjects, with [CrimsonFields] prefix - for easier organization by both local and web-based mail clients. Stacking CF stuff (and sometimes even figuring it's CF stuff!) is impossible without reading the email itself! CF is like the only discussion mailing list I'm subscribed to!
--
Yuri Constantinoff
Sébastien Dailly
2014-03-23 14:18:50 UTC
Permalink
Post by Юрий Константинов.
Man, CF needs to have more organized mail subjects, with [CrimsonFields] prefix - for easier organization by both local and web-based mail clients. Stacking CF stuff (and sometimes even figuring it's CF stuff!) is impossible without reading the email itself! CF is like the only discussion mailing list I'm subscribed to!
Hello,

Can't you configure your mail account for creating redirections ?
Post by Юрий Константинов.
fileinto "INBOX.mailing-lists.crimson";
stop;
}
and I have no problems with my mail organisation.

[1] http://en.wikipedia.org/wiki/Sieve_(mail_filtering_language)

Regards,
--
Sébastien
Jens Granseuer
2014-03-24 22:59:25 UTC
Permalink
Post by Sébastien Dailly
Hello,
This is another patch for CF, it let the cursor follow the mouse : less click when you play :), just move the mouse !
Hm. I believe we had this discussion a few years back. Personally, I'm
not really a fan of focus-follows-mouse. Always plays havoc with my
keyboard-centric attitude.

Jens
Юрий Константинов.
2014-03-25 07:26:33 UTC
Permalink
Being KB-centric is kinda bad in a hexgame, IMPE. Though I normally do use kb more than mouse too. Given my low eyesight, using mouse is usually WAY too troublesome.
--
Yuri Constantinoff
Sébastien Dailly
2014-03-25 08:34:21 UTC
Permalink
Post by Юрий Константинов.
Being KB-centric is kinda bad in a hexgame, IMPE. Though I normally do
use kb more than mouse too. Given my low eyesight, using mouse is
usually WAY too troublesome.
What do you mean by troublesome ? Do you thing about miss-click or
similar problems ?
--
Sébastien
Adam H
2014-03-25 09:03:34 UTC
Permalink
This might relate in some small way, but I also play Go (a 3k-4k year old
board game of Chinese origins (Go is the Japanese name)), and miss-clicking
is a common-problem when playing on the internet.

One program I play on solved this problem by applying the "click" when the
mouse button is released instead of when it's pressed. If a player simply
released the button, the action was completed, but if a player accidentally
clicked the button, they had the opportunity of moving the mouse away from
the area of operation thereby cancelling the action before releasing the
button.

Something similar could be adapted if the problem is miss-clicking.
However, if it's not, please treat this information as trivia.

Adam


On Tue, Mar 25, 2014 at 5:34 PM, Sébastien Dailly <
Post by Юрий Константинов.
Being KB-centric is kinda bad in a hexgame, IMPE. Though I normally do
Post by Юрий Константинов.
use kb more than mouse too. Given my low eyesight, using mouse is
usually WAY too troublesome.
What do you mean by troublesome ? Do you thing about miss-click or similar
problems ?
--
Sébastien
Sébastien Dailly
2014-03-25 09:17:51 UTC
Permalink
Post by Adam H
This might relate in some small way, but I also play Go (a 3k-4k year
old board game of Chinese origins (Go is the Japanese name)), and
miss-clicking is a common-problem when playing on the internet.
One program I play on solved this problem by applying the "click" when
the mouse button is released instead of when it's pressed. If a player
simply released the button, the action was completed, but if a player
accidentally clicked the button, they had the opportunity of moving
the mouse away from the area of operation thereby cancelling the
action before releasing the button.
Something similar could be adapted if the problem is miss-clicking.
However, if it's not, please treat this information as trivia.
Thanks for your sugestion, it is interresting ; I'm frequently annoyed
when I use uligo on my smartphone with this problem ( but the size of a
go stone is not comparable with a cf hex size).

I'll look in you'r direction for click handling.
--
Sébastien
Gregg Eshelman
2014-03-25 09:32:03 UTC
Permalink
Post by Adam H
This might relate in some small way, but I also play Go (a 3k-4k year
old board game of Chinese origins (Go is the Japanese name)), and
miss-clicking is a common-problem when playing on the internet.
One program I play on solved this problem by applying the "click" when
the mouse button is released instead of when it's pressed. If a player
simply released the button, the action was completed, but if a player
accidentally clicked the button, they had the opportunity of moving the
mouse away from the area of operation thereby cancelling the action
before releasing the button.
Something similar could be adapted if the problem is miss-clicking.
However, if it's not, please treat this information as trivia.
That's how clicks work in Windows. If you click and realize you've
clicked the wrong thing before releasing the button, you can move away
and release the button and abort the click.

'Course since Windows doesn't enforce using most of its standard API and
UI, programmers can override that behavior (along with making even more
work for themselves by shunning other standard items like file dialog
boxes).
Sébastien Dailly
2014-03-25 21:28:38 UTC
Permalink
This might relate in some small way, but I also play Go (a 3k-4k year old board game of Chinese origins (Go is the Japanese name)), and miss-clicking is a common-problem when playing on the internet.
One program I play on solved this problem by applying the "click" when the mouse button is released instead of when it's pressed. If a player simply released the button, the action was completed, but if a player accidentally clicked the button, they had the opportunity of moving the mouse away from the area of operation thereby cancelling the action before releasing the button.
Something similar could be adapted if the problem is miss-clicking. However, if it's not, please treat this information as trivia.
Hello,

I've taken you'r idea and change the patch :

- the cursor postion is not updated if the user press left mouse button during the move.
- the action is no longer triggered on mouse down but mouse up. Then the code check if the cursor is still at is initial position, and cancel the action if not.

Tell me if it is satisfing for you.
--
Sébastien
Sébastien Dailly
2014-03-25 08:17:55 UTC
Permalink
Post by Jens Granseuer
Hm. I believe we had this discussion a few years back. Personally, I'm
not really a fan of focus-follows-mouse. Always plays havoc with my
keyboard-centric attitude.
lol ! A keyboard will always be faster than a mouse, and I also use a
lot my keyboard during the game.

The patch does not reduce the ability to use the keyboard during the
game, it even require less click when you play :

- no need to double click on the destination or target when you want to
move a unit
- no need to double click when you want to select a unit after having
one selected…

The patch reflect the way I play the game (I think we all play it
differently), I share it if it also usefull for someone else.
--
Sébastien
Continue reading on narkive:
Loading...