skip to main content
10.1145/2207676.2208693acmconferencesArticle/Chapter ViewAbstractPublication PageschiConference Proceedingsconference-collections
research-article

Gesture coder: a tool for programming multi-touch gestures by demonstration

Authors Info & Claims
Published:05 May 2012Publication History

ABSTRACT

Multi-touch gestures have become popular on a wide range of touchscreen devices, but the programming of these gestures remains an art. It is time-consuming and error-prone for a developer to handle the complicated touch state transitions that result from multiple fingers and their simultaneous movements. In this paper, we present Gesture Coder, which by learning from a few examples given by the developer automatically generates code that recognizes multi-touch gestures, tracks their state changes and invokes corresponding application actions. Developers can easily test the generated code in Gesture Coder, refine it by adding more examples, and once they are satisfied with its performance integrate the code into their applications. We evaluated our learning algorithm exhaustively with various conditions over a large set of noisy data. Our results show that it is sufficient for rapid prototyping and can be improved with higher quality and more training data. We also evaluated Gesture Coder's usability through a within-subject study in which we asked participants to implement a set of multi-touch interactions with and without Gesture Coder. The results show overwhelmingly that Gesture Coder significantly lowers the threshold of programming multi-touch gestures.

Skip Supplemental Material Section

Supplemental Material

paperfile1915-3.mp4

mp4

91.7 MB

References

  1. Android. http://www.android.com.Google ScholarGoogle Scholar
  2. Anthony, L. and Wobbrock, J.O. A lightweight multistroke recognizer for user interface prototypes. Proc. GI 2010, 245--252. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Appert, C. and Bau, O. Scale detection for a priori gesture recognition. Proc. CHI 2010, 879--882. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Appert, C. and Zhai, S. Using strokes as command shortcuts. Proc. CHI 2009, 2289--2298. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Apple iPod Nano 6th Generation. http://www.apple.com/ipodnano/.Google ScholarGoogle Scholar
  6. Ashbrook, D. and Starner, T. MAGIC: a motion gesture design tool. Proc. CHI 2010, 2159--2168. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Brushes. http://www.brushesapp.com/.Google ScholarGoogle Scholar
  8. Cypher, A., ed. Watch What I Do: Programming by Demonstration. MIT Press, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Elias, J.G., Westerman, W.C., and Haggerty, M.M. Multi-Touch Gesture Dictionary. US Patent, 2007.Google ScholarGoogle Scholar
  10. Google Nexus. http://www.google.com/nexus/.Google ScholarGoogle Scholar
  11. Hartmann, B., Abdulla, L., Mittal, M., and Klemmer, S.R. Authoring sensor-based interactions by demonstration with direct manipulation and pattern recognition. Proc. CHI 2007, 145--154. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Hoste, L. Software engineering abstractions for the multi-touch revolution. Proc. ICSE 2010, 509--510. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Kin, K., Hartmann, B., DeRose, T., and Agrawala, M. Proton: Multitouch Gestures as Regular Expressions. Proc. CHI 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Kurtenbach, G. and Buxton, W. User learning and performance with marking menus. Proc. CHI 1994, 258--264. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Lieberman, H., E. Your Wish Is My Command: Programming by Example. Morgan Kaufmann, 2001.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Long, Jr., A.C. Quill: a gesture design tool for penbased user interfaces. Doctoral Dissertation, University of California, Berkeley, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Microsoft Surface. http://www.microsoft.com/surface/.Google ScholarGoogle Scholar
  18. Motorola Xoom. http://developer.motorola.com/products/xoom/.Google ScholarGoogle Scholar
  19. OS X Lion: About Multi-Touch gestures. http://support.apple.com/kb/HT4721.Google ScholarGoogle Scholar
  20. Perceptive Pixel Multi-Touch Collaboration Wall. http://www.perceptivepixel.com.Google ScholarGoogle Scholar
  21. Quinlan, J.R. C4.5: programs for machine learning. Morgan Kaufmann, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Rubine, D. Specifying gestures by example. ACM SIGGRAPH Computer Graphics 25, 4 (1991), 329--337. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Scholliers, C., Hoste, L., Signer, B., and De Meuter, W. Midas: a declarative multi-touch interaction framework. Proc. TEI 2011, 49--56. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Shneiderman, B. Direct manipulation: a step beyond programming languages. Computer 16, 8 (1983), 57--69. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Weka. http://www.cs.waikato.ac.nz/ml/weka/.Google ScholarGoogle Scholar
  26. Wobbrock, J.O., Wilson, A.D., and Li, Y. Gestures without libraries, toolkits or training: a $1 recognizer for user interface prototypes. Proc. UIST 2007, 159--168. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Zhai, S. and Kristensson, P.-O. Shorthand writing on stylus keyboard. Proc. CHI 2003, 97--104. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. iOS developer library. http://developer.apple.com/library/ios/.Google ScholarGoogle Scholar

Index Terms

  1. Gesture coder: a tool for programming multi-touch gestures by demonstration

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        CHI '12: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems
        May 2012
        3276 pages
        ISBN:9781450310154
        DOI:10.1145/2207676

        Copyright © 2012 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 5 May 2012

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate6,199of26,314submissions,24%

        Upcoming Conference

        CHI '24
        CHI Conference on Human Factors in Computing Systems
        May 11 - 16, 2024
        Honolulu , HI , USA

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader