Difference between revisions of "Xevents"

From Sugar Labs
Jump to navigation Jump to search
(Created page with "Xevents it's a TurtleBlocks plugin for design different types of accessibility interfaces in an easy way for users that doesn't know about programming, using TurtleBlocks and...")
 
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
This is an example of a basic scrolling made with TurtleBots and Xevents
 
This is an example of a basic scrolling made with TurtleBots and Xevents
  
[[Archivo:Ins1.png]]
+
[[File:Ins1.png|600px]]
  
 
When starts first do the X axe scrolling until butiá button is pressed.
 
When starts first do the X axe scrolling until butiá button is pressed.
  
[[Archivo:Instantánea10.png]]
+
[[File:Instantánea10.png|600px]]
  
 
Executes barrido_x function
 
Executes barrido_x function
  
[[Archivo:Expl_xreal.png]]
+
[[File:Expl_xreal.png]]
  
 
That changes the X position of the line to the actual mouse position + 2px until arrives to the screen's border and then start again. The Y position it's changed to 0
 
That changes the X position of the line to the actual mouse position + 2px until arrives to the screen's border and then start again. The Y position it's changed to 0
Line 21: Line 21:
 
then in Y
 
then in Y
  
[[Archivo:Instantánea9.png]]
+
[[File:Instantánea9.png|600px]]
  
 
That executes barrido_y function
 
That executes barrido_y function
  
[[Archivo:Expl_x_scrolling.png]]
+
[[File:Expl_x_scrolling.png]]
  
 
the task of this function is to change the X position of the line by the last mouse X position, and the Y position by the actual mouse position in Y + 3px, until arrives to the screen's border and then starts again.
 
the task of this function is to change the X position of the line by the last mouse X position, and the Y position by the actual mouse position in Y + 3px, until arrives to the screen's border and then starts again.
 
Then, when you press butia button again, the line stops, hides and makes a click in the mouse position.
 
Then, when you press butia button again, the line stops, hides and makes a click in the mouse position.
  
[[Archivo:Instantánea8.png]]
+
[[File:Instantánea8.png|600px]]
  
 
Now the prototype designed in TurtleBots is integrating to sugar as a service  
 
Now the prototype designed in TurtleBots is integrating to sugar as a service  
  
[[Archivo:Instantánea5.png]]
+
[[File:Instantánea5.png|600px]]
  
 
this could be personalized in the sugar control panel in an easy way
 
this could be personalized in the sugar control panel in an easy way
  
[[Archivo:Instantánea6.png]]
+
[[File:Instantánea6.png|600px]]
 +
 
 +
* <div class="NavFrame"><div class="NavHead">[http://www.youtube.com/watch?v=uTcWpzID56U] </div><div class="NavContent">{{#widget:YouTube
 +
|id=uTcWpzID56U
 +
}}</div></div>
  
 
[1]: https://www.google-melange.com/gci/task/view/google/gci2014/5784136845361152
 
[1]: https://www.google-melange.com/gci/task/view/google/gci2014/5784136845361152

Latest revision as of 20:55, 4 January 2015

Xevents it's a TurtleBlocks plugin for design different types of accessibility interfaces in an easy way for users that doesn't know about programming, using TurtleBlocks and different types of sensors

Actually a simple scrolling prototyped in this plugin is being ported to sugar[1], it means better speed because it's a Sugar service, and could be configured in Sugar control panel.

Speaking with X, using Xlib, it's possible use the plugin inside or outside Sugar in any GNU/Linux system with a GUI.

This is an example of a basic scrolling made with TurtleBots and Xevents

Ins1.png

When starts first do the X axe scrolling until butiá button is pressed.

Instantánea10.png

Executes barrido_x function

Expl xreal.png

That changes the X position of the line to the actual mouse position + 2px until arrives to the screen's border and then start again. The Y position it's changed to 0

then in Y

Instantánea9.png

That executes barrido_y function

Expl x scrolling.png

the task of this function is to change the X position of the line by the last mouse X position, and the Y position by the actual mouse position in Y + 3px, until arrives to the screen's border and then starts again. Then, when you press butia button again, the line stops, hides and makes a click in the mouse position.

Instantánea8.png

Now the prototype designed in TurtleBots is integrating to sugar as a service

Instantánea5.png

this could be personalized in the sugar control panel in an easy way

Instantánea6.png

[1]: https://www.google-melange.com/gci/task/view/google/gci2014/5784136845361152