What event is captured from using the middle Joystick button?

Hello,
I would like to ask if someone knows what kinds of events are triggered when user uses the middle joystick button or wheel (mostly seen with HTC phones and Nexus).
Is it scroll, click, or everything?
Thanks in Advance.

Hi,
it is KeyboardEvent, for pressing the pad it is Enter keyCode returned, for scrolling it is arrow key codes returned (Keyboard.UP, Keyboard.DOWN, Keyboard.LEFT, Keyboard.RIGHT), use following handler (Key down event):
               //listen for key input
               stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyPressed, false, 0, true);
          protected function onKeyPressed(e:KeyboardEvent):void
               switch (e.keyCode)
                    case Keyboard.HOME:
                         //NativeApplication.nativeApplication.exit();// - doesn't work
                         //e.preventDefault();// - doesn't work
                    break;
                    case Keyboard.MENU:
                         e.preventDefault();
                    break;
                    case Keyboard.BACK:
                         //NativeApplication.nativeApplication.exit();
                         e.preventDefault();
                    break;
                    case Keyboard.SEARCH:
                         e.preventDefault();
                    break;
                    case Keyboard.ENTER:
                         e.preventDefault();
                    break;
                    default:
best regards

Similar Messages

  • HT4515 Why is there a white button lit under the App Store?  Is that what is prohibiting me from using the App Store?

    Why is there a white button lit under the App Store icon?  Is that what is prohibiting me from accessing the App Store?

    what do you mean white button
    have you maybe take a screenshot ?`

  • I have problem when opening a pdf page, my mouse control is hijacked to that tab when im on other tab, i cant scroll or use the middle rollling button, i have to click at the pdf tab then my control over the mouse middle button is restored.

    I think I have this problem even on earlier version. The thing is I set open link in new tab and not switch over to the opened tab. My habit is to open a pdf page in the background and let it load first. What happen is that when the pdf page finished loading ( i do not set to download it), it hijacks my middle mouse button control. When i scroll down or scroll up on my original tab, it wont scroll on the tab, but insttead it scrolls on the pdf tab. I have to click on the pdf tab, then i can use the scrolling function on other tabs back. As for when i opened several pdf tabs, it seems i have to click on the tab that just finished loading, that means several times until they all finish loading. It has been getting on my nerve lately. And all pdf trouble i search from google led to unable to open pdf, firefox hang or crash when opening a pdf and the likes.

    core-el, i don't see the advantage of that or i can't figure out how i'm supposed to use it. for starters, i have to click the mouse in order to get "add bookmark here" to open, which is no different than clicking on the star in the location bar, or right-clicking on the page. there are also options in the bookmarks toolbar, but they all require clicking the mouse & holding down the right button, etc.
    my goal is to use keystrokes only. typing on the keyboard, using both hands, using the space bar & my left pinky finger to tab over are all painless routines for me. as soon as i have to take my fingers off the keyboard & use the mouse, the pain begins.
    as i said, in older versions of firefox, all i had to do to bookmark a page was click ctrl>d, then tab over & arrow down, when appropriate, to find the folder & add the bookmark. for me, as a touch-typist whose speed is between 60 & 80 wpm, this is lightning fast.
    if i have this wrong, please correct me. i just see it as more mouse clicks that don't save me time or pain.

  • Using the middle mouse button to open a link in a new background tab also reloads the current page.

    When I click on a link with the middle button to open the link in a new background tab, the original page reloads and my view jumps to the top each time.
    The new tab loads fine but in order to continue reading the original page I have to scroll down to where the link I clicked on is.
    If I right-click on the link and select "Open Link in New Tab" from the context menu then the behaviour is as expected -- does not reload the original page. The flaw only happens when using the convenient mouse shortcut.
    This is annoying, for example, on long Wikipedia articles where I want to open some of the cited pages in other tabs for reading later whilst I continue to read original article. I'm constantly having to find where I was in order to continue reading.
    I've observed this behaviour on both Windows XP and Ubuntu on various computers.
    [EDIT]: Better description of problem in title.

    I've never had that happen with Firefox 4 on WinXP. I haven't updated my Netbook that runs Ubuntu to Firefox 4 yet.
    1. Try disabling the Java Console 6.0.24 and the Java Quick Starter 1.0 extensions and see if that solves your middle-click problem.
    2. Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.''
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • HT1918 I ve just bought a gift card from Belgium but I m living in Netherlands and I have an Iphone 4S subscription in Netherlands. What can I do to use the gift card? It is telling me that I can't use it because it's from Belgium.

    I ve just bought a gift card from Belgium but I m living in Netherlands and I have an Iphone 4S subscription in Netherlands. What can I do to use the gift card? It is telling me that I can't use it because it's from Belgium. i find it really stupid not to be able to use it?!
    please give me a hand over here
    plus i ve bought the gift card from a supermarket so its kind of hard to get my money back now :|

    Gift cards are country specific.  You cannot use them in another country.

  • Many apps when it comes time to print from my ipad 2 search for an air printer and i only have an HP wireless printerand i only have a wireless HP printer but they don't find it what can i do to use the HP wireless printer???

    Many Apps nwhen it comes time to print from my Ipad2 search foor an airprint printer but i only have an HP wireless printer and they don't find it what can I do to use the HP wireless printer in these apps????

    Hello Jfadair9,
    Thanks for the post.  I'm not sure which model printer that you have but you should be able to print from your iPad 2 with the HP Home and Biz application.  This is for wireless printers that are NOT web enabled.  I've included a link below with some great information on how to get this resolved.  Good Luck!
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02775166&cc=us&dlc=en&lc=en &product=1153494&tmp_track_link=ot_search
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01930282&cc=us&dlc=en&lc=en &product=1153494&tmp_track_link=ot_search
    I work for HP but my posts and replies are my own....Thank you!

  • Since I've updated to iOS 6 I am unable to use the next/back buttons from Headphone for audio book chapters.

    Since I've updated from iOS 5 to iOS 6 I am unable to use the next/back buttons from Headphone for audio book chapters.
    This is working fine for albums but are broken for audio books.
    The back button refers always to the first chapter of the audio book (very annoying if you are in the middle of an audio book) and the nex button goes one level higher back to the selection of the audio book itself.
    In iOS 5.0 it was still possible to navigate throught the audio book chapters using these buttons.
    This still happens in iOS 6.1.
    Is this a known bug?
    Does any solution exist?
    Thx,
    Oliver

    To gdgmacguy your a f****** idiot for one I'm having the same problem as pennymar. And you tell me to quit whinning. You got more problems then the iOS 6 you did not answer my question nor the other 13 or whatever you replied to within a 30 min time frame. You must got nothing better to do then to harass people and to pretend you know something about apple products. Which you don't from what I've read the other advices you should have gave to other people. But you didn't you replied a question back to the people asking a question. So if your not gonna use these community forums the right way don't use them at all.

  • What is that circle thing in the middle of pictures?

    Just upgraded to CS 5.5 from CS3.
    In InDesign, when I drop a picture in, what is that circle thing in the middle of the image when I move my mouse over it? If I click it, it switches to a direct selection of the image. That is damn annoying. Can I turn that off?
    Also, when I rotate a picture using the Rotate 90° Counter or Rotate 90° Clockwise buttons, it's not rotating from the center. It's rotating on the upper left corner.. if that makes sence. Can I fix that somehow somewhere?

    Easiest way to avoid it is click anywhere else in the box except the circle, takes some getting use to annoyed me the first week or so as well. Not sure if it can be disabled.
    Also, if it's rotating from a point other than center, make sure the center black box is selected on your attributes bar reference points next to the X Y W H selectors, it determines where you rotate from.

  • How do I change what the middle mouse button/wheel does?

    I feel like an idiot asking this, but I can't figure this out...
    I've plugged in a bog standard 2 button + scroll wheel third button mouse, but I can't get the middle mouse button/wheel to behave like it would in Windows.  If I click it, it changes programs, hold it it brings up the task switcher thing.  It's like I'm pressing command + tab.
    I want it to work normally, where the program I'm using the middle button responds, not the OS.  Like in Firefox, I want to be able to close tabs with the middle mouse button, and open new links with it...instead all it can do is switch programs.
    Is there a way to do this?  Am I missing something obvious?

    Err...I don't know what happened, but I rebooted and now it's working like normal (knock on wood!).  Noooo idea how it ended up in that state!

  • How do I stop iTunes from using the cloud?

    I use iTunes primarily for listening to podcasts.  I recently upgraded to version 11.1.
    Now, it used to be that I'd refresh podcasts, download the subscribed ones, listen to them, delete them. done.  I just opened iTunes and under one of the podcasts, there were about a hundred old ones; I used to be able to show everything on one page, now I have to scroll 4 or 6 pages to see what I want.  The "new" podcasts have a little cloud icon, so I guess that's where they are, or downloaded from.
    Two questions:  how do I delete these files, and how do I stop from using the cloud for podcasts?
    (This is a repeat question, because SoonerDoc1 marked it as solved, and it's not)

    That doesn't fix it as the podcast with the cloud logo show up as/in unplayed, I subscribe to CNET First Look Podcasts, some download and some don't download but have a cloud logo. Seems very random. iTunes is a badly written application that is getting worse after every new release.  If iTunes doesn't improve soon I'll downgrade to iTunes 10.7 which was just about use-able. for the second time.

  • What's keeping me from buying the W540

    I have $$ to spend and no Lenovo to spend it on.  
    Here's what's keeping me from buying the W540:
    1) Physical buttons have been removed above the trackpad. 
    Many, many people complain about this in the W540 reviews:
    "Touchpad: I've commented elsewhere that this is the worse I've even seen. Absolutely useless. I've disabled both the touchpad and touchstick (again, useless) and just use a mouse."
    "I'd try the touchpad on the W540 for a while before you decide you can live with it, it is truly as bad as all the reviews say. I've disabled mine and use a mouse."
    "...two issues with the touch-pad. The first has to do with having to clunk the whole pad as opposed to tapping on a much smaller (and quieter) button. The second has to do with the touch pad activating when you are typing."
    Member "Bauden" provided an excellent rationale for why this feature change is wrong for Thinkpads:
    "For a MAC, a "click-pad" may work because the ENTIRE OS is designed to be used by a single mouse button. You CANNOT force this on PC users. On PC, right-click is used frequently for many essential functions, dragging and dropping and context menus . . . . the habit of using it has been ingrained into PC users by years of Microsoft tradition and applications (NOT APPS!)."
    I've used 10 Thinkpad laptops, I can't imagine being OK with that either.    Needing to use an external mouse is unacceptable.
    In fact, I'd bet the extra pressure needed to "tilt" or "clunk" the entire trackpad down to do the equivalent of pressing a gentle button from before will cause a greater frequency in RSI (Repetitive Stress Injury) in Thinkpad users.
    I do not see a single person who feel this feature removal/change is an improvement.
    Therefore, Lenovo, can you please change back?
    2) Bizzarre Resolution (2880 x 1620)
    I need / want UHD. I am thrilled that you are finally selling higher quality screens on your laptops.
    (Thank you Apple for putting that competitive pressure on laptop vendors.)
    Lenovo, please provide the resolution on the W540 that you have provided on the new Y50. (3840x2160)
    Why did you choose (2880 x 1620) resolution?
    1920 x 1080 isn't an even divisor of the native dimensions at full resolution, so resolving scaling issues by going to 1920x1080 would never look exactly right.
    But **please** Lenovo, keep the screen anti-glare.
    If you make above changes, please keep the following features:
    1) Anti-Glare screens
    2) Trackpoint
    3)  2 physical drive capability, 1 SSD + 1 other
    although it doesn't sound as easy as I'd prefer:
    "Thus, no matter what anyone tells you, you CANNOT buy a W-540 and think you will easily swap a DVD drive with, say, a second hard drive. It’s minor surgery, best done with a jeweler’s screwdriver and some fine needle nose pliers.
    Be sure to read the User Guide to keep from breaking the hatch cover. When I ordered mine, they shipped the Ultrabay carrier and the hard drive from the US, so they arrived early. I had to install them myself and found manipulating the tiny screws and pulling the hatch cover to be a bit scary.
    ……Not exactly what you would call “convenient.”
    from
    http://forums.lenovo.com/t5/W-Series-ThinkPad-Lapt​ops/LIVING-WITH-A-W-540/td-p/1528698
    4) Thunderbolt port
    And add back in the following features:
    I especially agree with these minuses in the "+/-" very detailed review by "Bauden"
    http://forums.lenovo.com/t5/W-Series-ThinkPad-Lapt​ops/LIVING-WITH-A-W-540/td-p/1528698/page/2
    = Missing drive indicator light
    Why in the world remove that. Please add that back in.
    = Missing bluetooth indicator light
    = USB 2.0 vs USB 3.0 ports can be easily identified with industry standard 'Blue' for USB 3.0.
    Why did you decide to not do that?
    After a couple hours of reading, I'd agree with the conclusion of Bauden when s/he said:
    "Overall a nice speedy machine, but that is not by Lenovo R&D.
    Intel, nVidia, and m.2 SATA are all wrapped in a container that is very poor when expecting a product labelled "Workstation". This is NOT a workstation among the items mentioned above and the wrong screen aspect ratio for photography / graphic applications."
    http://forums.lenovo.com/t5/W-Series-ThinkPad-Lapt​ops/LIVING-WITH-A-W-540/td-p/1528698/page/2
    Idea
    It seems like the team who designed the Lenovo Y50 did a great job for that machine's intended purpose.
    http://shop.lenovo.com/us/en/laptops/lenovo/y-seri​es/y50-uhd/
    (but is it really shipping in any quantity? Not a single user review posted to the community.)
    Maybe take the team who implemented the Y50 and have them design the new Thinkpad W550.

    Update:
    I'm glad those reasons above kept me from spending my own $ on this model since work ended out upgrading my old laptop.  Options were a W540 or a T440.  I had about 15 seconds to decide.  I went with the W540 tp get a larger screen. 
    Thoughts after several months: T
    Best thing on a day to day basis:  
    Overall, it's a screamer.  I can throw any workload at it and it doesn't flinch. 
    ( I7, 32gb memory, drive upgraded to a 1TB Samsung EVO SSD)
    Life is too short to wait on slow systems or slow hard drives.   This "best thing" overshadows everything else and makes me very happy with this system.  
    Worst thing on a day to day basis:  
    The keyboard layout. PageUp should be above PageDown.  Home should be above End. 
    Useless number key area. Why?  The NumLock key is right next to the Backspace key.  I'll accidentally toggle that Numlock key once a day or so when hitting backspace.  Then, the PageUp, Home, etc., keys on that keypad are useless and unpredictable.
    Mildly annoying:  
    1) The mousepad, for reasons described above.  Its tolerable but not great.
    2) The new DVD button location.  I accidentally open it twice a week when picking up / putting down the W540, and I've *never* used that silly DVD player.
    3) The "B" key, the key that's directly down from the red Thinkpoint tip, isn't right.  It doesn't press down cleanly.  bbbbbbbbbbbb   It's like it gets hung up on the red nibbet.

  • HT5361 When inserting pictures in a new mail message using the " photo browser" button I can view and select photos but the " choose "  button is gone. What have I done wrong?

    When inserting pictures in a new mail message using the " photo browser" button I can view and select photos but the " choose "  button is gone. What have I done wrong?

    Hi Liz,
    Sorry to hear you are having a similar problem.  Last night I went to the tool bar at the top of iphoto, clicked on "File",  then clicked "Browse Backups" in the drop down menu.    I have an external hard drive that is set up to Time Machine.   The Browse Backups  opened the iphoto pages in the Time Machine.  I selected a date one day ahead of the day I performed the now infamous update, and it showed my iphoto library as it had existed that day.   I then clicked  "Restore Library" at the bottom right corner of the Time Machine screen.   Roughly 2 hours later my iphoto was back to normal.   When I opened iphoto there was a message saying I need to upgrade my program to be compatible with the new version of iphoto(version 9.2.1).  I clicked "Upgrade" and within seconds it had done whatever upgrading it needed to do. 
    The only glitch in the restoration was that it restored the library as it appeared last week, so I no longer had photos I had imported this past weekend.   I simply went back to the Browse Backups in the drop down menu,  when Time Machine opened I selected the page showing my pictures from this weekend and again said to Restore Library.   Roughly 45 minutes later the library was restored including the most recent photos.  
    I am now a happy camper. 
    I don't know if any of this will be of help to you because your email says you are having trouble with photos imported after the upgrade was performed.   Have you had any pop up notices when you first open iphoto,  that tell you you need an upgrade to be compatible with the new iphoto?     If so have you clicked "upgrade"? 
    Good luck Liz,  if you have Time Machine running as a back up to your library, maybe you wil be able to get help there, by following my instructions above.   Otherwise,   good luck with your investigations.   I'd be interested in hearing how you make out.
    Karen

  • Anyone know how to stop the "activate" box from blocking usage of a perfectly legal copy of Ilisten? I want to help my dyslexic grandson and this box, including the activation code, keeps popping up, keeping me from using the software. I activated the pro

    Anyone know how to stop the "activate" box from blocking usage of a perfectly legal copy of Ilisten? I want to help my dyslexic grandson and this box, including the activation code, keeps popping up, keeping me from using the software. I activated the program and did a few profile building sessions, now it pops up each time I start the program, blocking me from using it. Help sure would be appreciated.
    Jay

    I looked at your post this morning and did not know enough to respond, other than to find out that links to iListen now go to newer, renamed software. Considering it's been nine hours with no response, I'm suspecting few people here have experience with that software. You could contact the current copmany that used to sell that package and see if they have any archived support info.
    BTW: please check you entry for "Mac OS" in your profile. It says iOS, which cannot run on an iMac. iOS is the system for phone and iPads but can't run on Mac computers. Do "About this Mac" from the Apple menu and see what it says about the OS version. Should look like this:
    If the "Processor" line says "Intel," you have a newer Mac than the old modles this forum covers; Intel iMac have their very own forum here:
    iMac (Intel)

  • I have an ipad mini that won't power on. It was turned off to charge overnight. In the morning it was warm and now won't turn on no matter what I do. I've tried resetting using the power / home button combination and nothing works.

    I have an ipad mini that won't power on. It was turned off to charge overnight. In the morning it was warm and now won't turn on no matter what I do. I've tried resetting using the power / home button combination and nothing works.

    If you have owned the device, as in purchased from Apple, less than a year then there will be no charge to repair, or most likely, replace the device. If you have had the device more than a year you will be charged an out of warranty cost for replacement ($219 I think) and that is much cheaper than a new device. If you have Applecare+ then you have an additional year of coverage and the replacement will be $49 or $79 depending on when you got the Applecare.

  • Benefits from using the MSI driver against the latest on my R4870 ?

    hi,
    Quote from: Stu
    You don't always need the latest drivers installed
    I am new to the forums and was thinking of OC'ing my video card MSI R4870 512M but before doing so I was wondering if there are any benefits from using the latest driver available at MSI site against the latest driver available from AMD site ?
    Code: [Select]
    MSI 23-07-2010 Version 8.723
    ATI 15-09-2010 Version 10.9
    Also from your experience what would be a nice safe OC that this card would hold, I don't want to go overboard just increase it some more ? it is currently at GPU 500 and Memory 900

     To answer 2nd part, you can attempt to match the factory OC version of the card. See 4870 OC specs > here < If you haven't done so yet download > Afterburner < from MSI.
     4870~something doesn't look right, your GPU clock is way lower than any of the MSI 4870 cards shown on the Global website. From what I see core clock should be at least 750 for the 4870. Are you sure your core clock  is at 500 or is that a low power state for that card? does the speed go up under a load? I know speed of the NVIDIA cards drop very low under light load.
     I'm pretty sure most people use the CCC drivers from AMD/ATI. If you're not having any problems that can be traced to drivers there's no need to bother with them.

Maybe you are looking for

  • How can we transfer stock from one vendor to another vendor?

    Dear Gurus, How can we transfer stock from one vendor to another vendor? pls tell the steps to follow.. Thanks..

  • Error while doing asset retiremnt entry

    Hi, While doing Asset Retiremnt through f-92 sale with revenue to customer. Geeting error message as ' Auxiliary Account Assingment to asset not possible, remove entry" I have given 1st line tem as customer account 2nd as asset sale offset account. A

  • Power Map Add IN to Trial Version of Office 365 Pro PLus

    Hi I have downloaded the Trial of Office 365 Pro Plus and have also downloaded the Power Query Add in which I have also installed. However I can't install the Power Map add in as it says that I don't have the correct version of excel, but this is bec

  • Update oracle 10.2.0.2 to oracle 10.2.0.3 on solaris 32-bit box

    Hi Every One, I am using a test machine which running on solaris 10 32 bit. i installed oracle 10.2.0.2 and its working good. I am planning to upgrade this database to 10.2.0.2. to 10.2.0.3. So i am searching for the correct patch in metalink. but i

  • Clips do not play in monitor window

    Hi Since adding some extra clips to the timeline in P/8 I am not able to play the scenes in the monitor window,they will appear there if I drag the timeline marker tool. 75BIGJ75