Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Space Bar Clone Works Too Fast

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Feature Requests
View previous topic :: View next topic  
Author Message
Vijchti
Member


Joined: 16 Aug 2006
Posts: 250

PostPosted: Thu Nov 09, 2006 8:49 pm    Post subject: Space Bar Clone Works Too Fast Reply with quote

When I'm doing things, I often stop mid-stroke to see what I'm doing. Sometimes, however, I'll be working with objects and I'll rest my thumb on the spacebar, creating dozens of copies of an object before I know it (and if it's complicated enough, it'll freeze up DeleD for quite a while).

Could you possibly change it so that the clone function only works when I realease the space bar? Even if it's only a solution for my own stupidity. Very Happy
_________________

"Psst, Here's a secret...Your last mortal thought will be,
'Why did I take so many days - just like today - for granted?'"
Back to top
View user's profile Send private message
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Sat Nov 11, 2006 10:22 am    Post subject: Reply with quote

Ok, that sounds like an awkward problem! Very Happy

Not too sure about the proposed solution though, are you suggesting we bypass default Windows key repeat rate behaviour? (i.e. holding a key effective does trigger 'key ups'). I am not too enthusiastic about introducing non-standard key behaviour, let's see if we can come up with a different solution!

You 'leaning on the spacebar' doesn't seem to be a bother when working with other applications (like a Word Processor), how come? Is it because there you get immediate visual feedback there? Perhaps there is a way we can improve the visual feedback of the clone action in DeleD?
Back to top
View user's profile Send private message Visit poster's website
Vijchti
Member


Joined: 16 Aug 2006
Posts: 250

PostPosted: Sun Nov 12, 2006 1:18 am    Post subject: Reply with quote

Eh, I don't know. If anyone else reports that they have the same problem, then it might be worth the effort to change the way it works. For now we should probably just leave it the way it is.
_________________

"Psst, Here's a secret...Your last mortal thought will be,
'Why did I take so many days - just like today - for granted?'"
Back to top
View user's profile Send private message
drarem
Member


Joined: 17 Nov 2006
Posts: 2

PostPosted: Fri Nov 17, 2006 1:55 pm    Post subject: Reply with quote

Just make a key debounce type routine..

While the spacebar is selected, eg CLone and the spacebar is still down and no flag is set, set a flag and clone the object.

when you release the key, eg KEYUP or !SPACEBAR, then reset the flag.
Back to top
View user's profile Send private message
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Fri Nov 17, 2006 5:55 pm    Post subject: Reply with quote

Key de-bounce is already done by Windows. I take it that DeleD just uses the regular Windows keyboard messages.

One solution to the problem would be if the selection is de-selected after cloning, so that repeated clone operations would fail. However, that might be annoying for many other reasons.

Another solution would be to allow arbitrary keyboard command mapping, so you can just remove clone from the space bar :-)
Back to top
View user's profile Send private message
drarem
Member


Joined: 17 Nov 2006
Posts: 2

PostPosted: Fri Nov 17, 2006 5:58 pm    Post subject: Reply with quote

Negatif

Quote:
While the spacebar is selected, eg CLone and the spacebar is still down and no flag is set, set a flag and clone the object.

when you release the key, eg KEYUP or !SPACEBAR, then reset the flag.
Back to top
View user's profile Send private message
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Wed Nov 22, 2006 7:48 pm    Post subject: Reply with quote

drarem: what you suggest is what I refered to as "bypass default Windows key repeat rate behaviour". People use OS settings for a reason. It's in general not a good idea to simply ignore those (unless you are writing a video game Wink).

Quote:
Another solution would be to allow arbitrary keyboard command mapping, so you can just remove clone from the space bar Smile


Yeah, if this leaning-on-key issue isn't very pressing I think that would effectively solve things quite nicely... Very Happy
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum