#jogamp @ irc.freenode.net - 20160601 05:06:15 (UTC)


20160601 05:06:15 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20160531050615.html
20160601 05:06:15 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20160601050615.html
20160601 06:39:08 * bigpet (uid25664@anon) has joined #jogamp
20160601 07:01:10 * elect (~GBarbieri@anon) has joined #jogamp
20160601 07:03:38 <elect> hi
20160601 07:20:18 * SHC (~quassel@anon) has joined #jogamp
20160601 07:24:30 * monsieur_max (~maxime@anon) has joined #jogamp
20160601 07:24:48 <monsieur_max> hello
20160601 07:30:00 * Eclesia (~husky@anon) has joined #jogamp
20160601 07:31:24 <Eclesia> hi
20160601 13:20:01 * SHC (~quassel@anon) Quit (Remote host closed the connection)
20160601 14:54:57 <elect> has anyone have a strategy implementation for a generic mouse/key listener?
20160601 14:57:55 <rmk0> generic?
20160601 15:00:21 <elect> I am not satisfied with my current implementation
20160601 15:00:38 <elect> I have an hashmap of all the pressed inputs (mouse & key)
20160601 15:00:53 <elect> and another one for all the just pressed inputs
20160601 15:01:17 <elect> then I create a class for each different input combinations
20160601 15:02:18 <elect> and whenever there is a input event (something pressed/released/click/moved) then it will loop all the classes to find if there is anything to execute for the current situation
20160601 15:09:27 <rmk0> i've not implemented anything like this for ages, but i suspect i'd structure it as a queue
20160601 15:10:18 <rmk0> .. in fact i don't know enough about your situation to say anything that wouldn't be misleading, so i won't!
20160601 15:21:06 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20160601 15:26:58 <elect> gimme hints
20160601 15:27:10 <elect> what you mean by queue?
20160601 15:27:24 <elect> kind of input event queue
20160601 15:27:28 <elect> ?
20160601 15:27:54 <elect> like one queue for each type of event?
20160601 15:28:23 <elect> mouse pressed/released/clicked/moved, key pressed/released
20160601 15:28:24 <elect> ?
20160601 15:37:30 <Eclesia> I made something long time ago, not sure if I setill have the code. was a class Gesture with Predicates, MousePressedPredicate, KeyPressedPredicate, And Or etc... and the associated eventListener to call when the gesture matches
20160601 15:37:43 <Eclesia> still*
20160601 15:38:38 <elect> is it anywhere I can take a look at?
20160601 15:38:59 <Eclesia> I will saerch for it when i get home
20160601 15:39:15 <elect> ok, thanks
20160601 15:39:28 <elect> then you dont use it anymore?
20160601 15:41:10 <Eclesia> elect: everything I make and share is public domain ^^
20160601 15:41:25 <elect> good boy :p
20160601 15:41:54 <Eclesia> if I found the code I will update it and add it the lib anyway
20160601 15:55:47 * Eclesia (~husky@anon) has left #jogamp
20160601 16:27:14 * dwbrite (4474ac1d@anon) has joined #jogamp
20160601 16:32:28 * elect (~GBarbieri@anon) Quit (Ping timeout: 244 seconds)
20160601 16:36:25 * Eclesia (~eclesia@anon) has joined #jogamp
20160601 16:58:16 * monsieur_max (~maxime@anon) has joined #jogamp
20160601 17:29:47 <Eclesia> for elect : code is already in the lib : https://bitbucket.org/Eclesia/unlicense/src/tip/engine/engine-opengl/src/main/java/un/engine/opengl/control/ GestureState,GestureTrigger and a usage example in OrbitController
20160601 17:30:40 <zubzub> what exactly was elect's problem?
20160601 17:32:27 <Eclesia> searching for a way to detect/listen to gestures, something friendly
20160601 17:33:31 <Eclesia> I think ^^ it wasn't very clear
20160601 17:48:25 <Eclesia> time for a bit of masochism : working on the physics engine
20160601 17:49:56 <Eclesia> zubzub: you want to join ? :D
20160601 19:57:14 <Eclesia> dwbrite: hi, I have a small request, could you tell me how to convert a LargeDecimal to a double ? :)
20160601 21:28:57 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20160601 21:49:10 * Eclesia (~eclesia@anon) Quit (Quit: Leaving.)
20160602 03:57:21 * guillaum1 (~gl@anon) Quit (Ping timeout: 240 seconds)
20160602 04:01:52 * guillaum1 (~gl@anon) has joined #jogamp
20160602 05:06:15 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20160602050615.html