Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 17:44
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Touch screen swipe behavior in Puppy (2013)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Thu 10 Jan 2013, 16:28    Post subject:  Touch screen swipe behavior in Puppy (2013)  

The Touch screen: Is it a UI or is it a WM?

Questions
  • In looking at the Ubuntu xPhone's desktop, and comparing its behavior to Apple and Android xPhone/xPad, is the subsystem components of what the user uses made posible by a Window-manager (WM) or made possible via a UI app in a WM?

  • And, what approach could be used to bring a similar UI to Puppyland for x86 (32/64bit) touch displays where the "swiping" kind of activity would be possible?
Any information would be useful

Edited: for better clarity

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile

Last edited by gcmartin on Fri 11 Jan 2013, 00:49; edited 2 times in total
Back to top
View user's profile Send private message 
Ray MK


Joined: 05 Feb 2008
Posts: 764
Location: UK

PostPosted: Thu 10 Jan 2013, 22:32    Post subject:  

Hi gcmartin

Previous touch screen enabled Puppy’s have had the screen configuration done in Xorg.conf, if I’ve understood the workings correctly.

I’m told the setup can be quite difficult (nightmares, insomnia and frequent visits to the local asylum are often mentioned, if not given the appropriate therapy)

Presume things are still much the same for x86 - don’t know how it’s done for arm proc’s.

Ubuntu 4 phones shares/uses an Android kernel - and I think it shares resources with the Android OS.

The afore mentioned u4p also requires a stonking fast quad processor chip with a minimum 2gig of working ram memory, to provide an acceptable level of performance.

Puppy could be made to work in a similar fashion with a suitably tweaked kernel, but it is well beyond my capability.

HTH - Best regards - Ray

_________________
Asus 701SD. 2gig ram. 8gb SSD. IBM A21m laptop. 192mb ram. PIII Coppermine proc. X60 T2400 1.8Ghz proc. 2gig ram. 80gb hdd. T41 Pentium M 1400Mhz. 512mb ram.
Back to top
View user's profile Send private message 
Q5sys


Joined: 11 Dec 2008
Posts: 1047

PostPosted: Mon 21 Jan 2013, 18:59    Post subject: Re: Touch screen swipe behavior in Puppy (2013)  

gcmartin wrote:
The Touch screen: Is it a UI or is it a WM?

Questions
  • In looking at the Ubuntu xPhone's desktop, and comparing its behavior to Apple and Android xPhone/xPad, is the subsystem components of what the user uses made posible by a Window-manager (WM) or made possible via a UI app in a WM?

  • And, what approach could be used to bring a similar UI to Puppyland for x86 (32/64bit) touch displays where the "swiping" kind of activity would be possible?
Any information would be useful

Edited: for better clarity


From what I have read its a combination of both, plus additional individual program code The WM has to have the layout such that a touch interface works, but most of the actual touch interface is actually handled by the system as a user interface device like a keyboard and/or mouse, etc. The drivers then working along side with the kernel, translate the physical input, and turn that into code that can be understood by the WM. This is then sent to the WM which in turn does whatever you told it to do.
But thats not the end, individual programs also have to be modified to accept additional types of input. Otherwise a program, say a web browser, will not understand the input its getting. While some things can be simply translated (sweeping motion up or down = scroll wheel action). Others cannot. Multi-touch is where this becomes a rather large issue, since the system has to be able to properly parse the input and turn that into something a program can use; and at the same time programs must be able to manage and deal with that input as well.

At the simplest level a touch screen can operate as a simple click like a Mouse, but its the more complex touch interface interactions where things start to get complicated.

Does that explain it or no?

_________________



My PC is for sale
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Mon 21 Jan 2013, 19:51    Post subject:  

Thanks to all, thus far.

About 3 weeks ago, a colleague showed some advances he had made with Android-x86 on his HP Touchsmart.

Impressive. But, I didn't get to cover much at that time. When I saw the Ubuntu xPhone, last week, I wondered again about how the hand gestures on touch screen was carried out and which system/subsystem components were involved to control and carry out user requests with the apps that sit on its desktop.

I wonder how many of us have seen this in real life, too. There are several Youtubes and howtos demo'ing this.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4238
Location: Earth

PostPosted: Mon 21 Jan 2013, 20:04    Post subject:  

So that my last post doesn't appear too vague, here's a couple of concerns that are a little more specific:
Will the trek to more Linuxes on Touch devices start from additional added to the base OS? Does the base OS, today, have the chipset support to bring the screen interaction into the system for Window manager use?

And, is the Window manager used by Android (mentioned earlier) capable of being "dropped" into a Linux such that applications can be manipulated in much the same way as is manipulated in Android-x86? If so, did Ubuntu do something like this?

Just trying to understand how this actually is done?

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Q5sys


Joined: 11 Dec 2008
Posts: 1047

PostPosted: Mon 21 Jan 2013, 20:24    Post subject:  

gcmartin wrote:
So that my last post doesn't appear to vague, here's a couple of concerns:
Will the trek to more Linuxes on Touch devices start from additional added to the base OS? Does the base OS, today, have the chipset support to bring the screen interaction into the system for Window manager use?

And, is the Window manager used by Android (mentioned earlier) capable of being "dropped" into a Linux such that applications can be manipulated in much the same way as is manipulated in Android-x86? If so, did Ubuntu do something like this?

Just trying to understand how this actually is done?


Touch support is already in the kernel, but it doesnt cover all the hardware options out there. In fact it's been in the kernel since the 2.30 days, but it wasnt utilitzed by pretty much anyone.
So to go from a regular wm to a touch WM... you'd need to take several steps.

1) make sure you chosen hardware is driver compatible with whats in the kernel,
If its not, find opensource drivers for it (good luck), or write your own.

2) configure your system for the types of touch input you want to use, this means configuring the device input options for how the driver will read the sensors in the screen. You need to decide what will be what.

3) redesign your WM to take into account touch control. Fingers work differently than mouses, so visually things will need to be a tad different.

4) Edit whatever programs in whatever way you want so that they can take advantage of your new input gestures.


What google has done with android honestly isnt very helpful. Yes Android is linux, But its linux as far as the kernel. Android is mostly a Java stack running on top of the linux kernel. So it isnt very helpful for real linux distros. Android doesnt run any form of the X enviroment, so usability of googles work drops to almost nil.

Now toss out the WM on your computer, code a Java WM, and then you would be able to port some of googles code over, but you wont get real far, because then none of your common linux apps will want to run, because they want to run in X and not in a java gui.

Now once Canonical released their image for the ubuntu phones, everyone can have a look at what they've done. I dont see them using X on a phone because of processor demand, so they will probably go the same route and just run a java stack on top of the kernel, but who knows. Canonical has the $ and Devs to throw at this; anything is possible.

_________________



My PC is for sale
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0711s ][ Queries: 12 (0.0092s) ][ GZIP on ]