Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 20 Nov 2007 07:39 AM by  mcelweep@msoe.edu
Hot to hide cursor arrow in nano-x
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
sygi@canbus.pl
New Member
New Member
Posts:


--
23 Oct 2007 06:33 AM
    Hi

    How to hide the cursor arrow ?. I am using Touch panel together with ads7843 controller as a pointing device.
    I want to disable the arrow in my window appllication.
    I've tried to use GrSetCursor() function but without results.
    In nano-x config file I checked SERMOUSE=Y and ADSMOUSE=Y

    Any suggestions ??

    Regards
    sygi
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    23 Oct 2007 12:15 PM
    How about setting the config to NOMOUSE <!-- s:-P -->:-P<!-- s:-P -->
    ####################################################################
    # Mouse drivers
    # GPMMOUSE gpm mouse
    # SERMOUSE serial Microsoft, PC, Logitech, PS/2 mice (/dev/psaux)
    # SUNMOUSE Sun Workstation mouse (/dev/sunmouse)
    # NOMOUSE no mouse driver
    #
    # Touchscreen drivers
    # IPAQMOUSE Compaq iPAQ, Intel Assabet (/dev/h3600_tsraw)
    # ZAURUSMOUSE Sharp Zaurus (/dev/sharp_ts)
    # TUXMOUSE TuxScreen (/dev/ucb1x00-ts)
    # ADSMOUSE Applied Data Systems GC+ (/dev/ts)
    # ADS7846MOUSE ADS7846 chip, PSI OMAP Innovator (/dev/innnovator_ts)
    # EPMOUSE Embedded Planet (/dev/tpanel)
    # VHMOUSE Vtech Helio (/dev/tpanel)
    # MTMOUSE MicroTouch serial (/dev/ttyS1)
    # PSIONMOUSE Psion 5 (/dev/touch_psion)
    # YOPYMOUSE Yopy (/dev/yopy-ts)
    # HARRIERMOUSE NEC Harrier (/dev/tpanel)
    ####################################################################
    GPMMOUSE = N
    SERMOUSE = N
    SUNMOUSE = N
    NOMOUSE = Y
    IPAQMOUSE = N
    ZAURUSMOUSE = N
    TUXMOUSE = N
    ADSMOUSE = N
    ADS7846MOUSE = N
    EPMOUSE = N
    VHMOUSE = N
    MTMOUSE = N
    PSIONMOUSE = N
    YOPYMOUSE = N
    HARRIERMOUSE = N

    # keyboard or null kbd driver
    TTYKBD = N
    SCANKBD = N
    PIPEKBD = N
    IPAQKBD = N
    LIRCKBD = N
    NOKBD = Y

    endif


    Or did you still want a mouse, but just no mouse cursor? The options you discuss just make the mouse get a different input space.

    The GrSetCursor function like makes a caret blink, I think, although it it terribly broken. The simplest thing to do, and also the most work, is to dive into the nanox source and figure out when the mouse cursor gets drawn, and figure it out how to stop it. Thats what this whole open source thing is about.
    sygi@canbus.pl
    New Member
    New Member
    Posts:


    --
    24 Oct 2007 12:35 AM
    I want to make the cursor arrow invisible. . My setting are:
    GPMMOUSE = N
    SERMOUSE = Y
    SUNMOUSE = N
    NOMOUSE = Y
    IPAQMOUSE = N
    ZAURUSMOUSE = N
    TUXMOUSE = N
    ADSMOUSE = Y
    ADS7846MOUSE = N
    EPMOUSE = N
    VHMOUSE = N
    MTMOUSE = N
    PSIONMOUSE = N
    YOPYMOUSE = N
    HARRIERMOUSE = N

    When I disable SERMOUSE my application does not start at all.
    messenger
    New Member
    New Member
    Posts:


    --
    25 Oct 2007 11:57 AM
    It seems to me like you should only need one enabled. I mean logically you can't have nomouse and a sermouse and an ADS7846mouse all at the same time.

    Did you mess with this config file yourself? Or was it one of the template configs?
    sygi@canbus.pl
    New Member
    New Member
    Posts:


    --
    26 Oct 2007 12:12 AM
    I've tried all possible configurations, but I did it in the different way.
    In the micro windows drivers directory there is a file: mou_ser.c
    Comparing to other available drivers I added in the open() function one line: GdHideCursor(&scrdev);
    where "srcdev" is my screen device. To be sure I added:
    extern SCREENDEVICE scrdev; at the top of the file.

    Now the cursor arrow has vanished.
    Regards
    mcelweep@msoe.edu
    New Member
    New Member
    Posts:


    --
    20 Nov 2007 07:39 AM
    Glad you figured it out!
    You are not authorized to post a reply.