Results 1 to 5 of 5

Thread: Detecting keybord Events

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default Unanswered: Detecting keybord Events

    I took a look at sencha-touch-all-debug.js and it use Events like touchstart, touchmove... for touch screen and also mouse events but we can not control sencha touch apps with keybord events (keydown, keyuop...). What can I do to make it possible ?

  2. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    101
      0  

    Default

    Most fields fire the key events. Ex: Textfields have the keyup and action events.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default

    That's true but if I want to control my app with my PC's keyboard ( Arrow keys, Enter, Esc....) ???

  4. #4
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    101
      1  

    Default

    You mean like a game? What functionality would this add to a mobile app? Or is it only for devices with attachable keyboards? I'm first just trying to understand why you need such functionality like this.

    I think you should look at the events guide: http://docs.sencha.com/touch/2-0/#!/...ents-section-7

  5. #5
    Sencha User
    Join Date
    Jul 2012
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Exactly, some tablets and smartphones have an attachable keyboard and i want to add this options to my app. I need some technical help

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •