Don't we want something like "none" for the case where no support is available?

-- Blake Sullivan

On 6/13/11 4:17 PM, Andrew Robinson (JIRA) wrote:
     [ 
https://issues.apache.org/jira/browse/TRINIDAD-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048868#comment-13048868
 ]

Andrew Robinson commented on TRINIDAD-2108:
-------------------------------------------

static public final CapabilityKey CAP_TOUCH_SCREEN =
           CapabilityKey.getCapabilityKey("touchScreen", true);

This capability would return null, "single" or "multiple" indicating no touch 
support, one finger or multiple simultaneous touches.

Add touch capability to the agent API to be able to determine agents that are 
touch screen based.
-------------------------------------------------------------------------------------------------

                 Key: TRINIDAD-2108
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2108
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Components
    Affects Versions: 2.0.1
            Reporter: Andrew Robinson
            Assignee: Andrew Robinson
            Priority: Minor

There is currently no means to tell from the Agent that it has a touch screen 
or not to know if a component may need to use touch* events on the client as 
opposed to mouse* events. It would be nice to have such a capability for 
identifying Android and iOS as touch screen devices.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



Reply via email to