1. kavernar's Avatar
    I'm trying to make a simple game only with motion gestures with marmalade c++. I would like to disable single touch events and enable only motion events.
    The point of the game is to drag images over the surface around some barriers, but if single touch is enabled then the images jump to the spot where I touch the screen. I would like to make the images to move only on motion events.
    Is it even posible?

    Sorry for my bad english....

    My code for touch detection is

    void HandleSingleTouchButtonCB(s3ePointerEvent* event)
    CTouch* touch = g_Input.getTouch(0);
    touch->active = event->m_Pressed != 0;
    touch->x = event->m_x;
    touch->y = event->m_y;
    // HandleSingleTouchMotionCB - The system will call this callback when the user moves their finger on the screen
    void HandleSingleTouchMotionCB(s3ePointerMotionEvent* event)
    CTouch* touch = g_Input.getTouch(0);
    touch->x = event->m_x;
    touch->y = event->m_y;
    12-25-12 03:53 PM
  2. jeroen_13's Avatar
    Please ask a moderator to move your topic to the 'BB10 Development' subforum, or re-post your topic there. BB10 devs will help you out further.
    12-26-12 05:10 PM

Similar Threads

  1. Holster that does not drain battery and enables sleep
    By bleistift in forum BBOS Phone Accessories
    Replies: 24
    Last Post: 05-13-09, 12:48 PM
  2. What effect does disabling WiFi and 3G have on battery life?
    By NathanE in forum General BlackBerry Discussion
    Replies: 10
    Last Post: 05-12-09, 11:35 AM
  3. Disabling backup and delete on DM 4.6?
    By Guy36 in forum General BlackBerry Discussion
    Replies: 1
    Last Post: 03-24-09, 01:21 PM
  4. How to disable email and BB messenger alert?
    By naaz90 in forum BlackBerry Storm
    Replies: 2
    Last Post: 12-19-08, 07:45 AM
  5. Dodging IT policy and enabling Bluetooth?
    By horatio1996 in forum BlackBerry 8830 WE
    Replies: 5
    Last Post: 06-26-08, 02:57 PM