Search Results

Search found 12948 results on 518 pages for 'mouse events'.

Page 180/518 | < Previous Page | 176 177 178 179 180 181 182 183 184 185 186 187  | Next Page >

  • Hover alternatve for touch devices [migrated]

    - by Joshua Frank
    I'm building a standard infographic where you mouse over a region and the image changes as you move. For instance, imagine a map of the world, and when you mouse over a country, that country glows and a panel shows statistics about that country. The implementation is to have a separate image for the glowing country, and a div element with the statistics, and the code shows these additional elements on a hover over the country. The question is: what should this do on a tablet, where there's no hover event? What's a good alternative navigation metaphor for this kind of situation on touch-only devices?

    Read the article

  • Top down space game control problem

    - by Phil
    As the title suggests I'm developing a top down space game. I'm not looking to use newtonian physics with the player controlled ship. I'm trying to achieve a control scheme somewhat similar to that of FlatSpace 2 (awesome game). I can't figure out how to achieve this feeling with keyboard controls as opposed to mouse controls though. Any suggestions? I'm using Unity3d and C# or javaScript (unityScript or whatever is the correct term) works fine if you want to drop some code examples. Edit: Of course I should describe FlatSpace 2's control scheme, sorry. You hold the mouse button down and move the mouse in the direction you want the ship to move in. But it's not the controls I don't know how to do but rather the feeling of a mix of driving a car and flying an aircraft. It's really well made. Youtube link: FlatSpace2 on iPhone I'm not developing an iPhone game but the video shows the principle of the movement style. Edit 2 As there seems to be a slight interest, I'll post the version of the code I've used to continue. It works good enough. Sometimes good enough is sufficient! using UnityEngine; using System.Collections; public class ShipMovement : MonoBehaviour { public float directionModifier; float shipRotationAngle; public float shipRotationSpeed = 0; public double thrustModifier; public double accelerationModifier; public double shipBaseAcceleration = 0; public Vector2 directionVector; public Vector2 accelerationVector = new Vector2(0,0); public Vector2 frictionVector = new Vector2(0,0); public int shipFriction = 0; public Vector2 shipSpeedVector; public Vector2 shipPositionVector; public Vector2 speedCap = new Vector2(0,0); void Update() { directionModifier = -Input.GetAxis("Horizontal"); shipRotationAngle += ( shipRotationSpeed * directionModifier ) * Time.deltaTime; thrustModifier = Input.GetAxis("Vertical"); accelerationModifier = ( ( shipBaseAcceleration * thrustModifier ) ) * Time.deltaTime; directionVector = new Vector2( Mathf.Cos(shipRotationAngle ), Mathf.Sin(shipRotationAngle) ); //accelerationVector = Vector2(directionVector.x * System.Convert.ToDouble(accelerationModifier), directionVector.y * System.Convert.ToDouble(accelerationModifier)); accelerationVector.x = directionVector.x * (float)accelerationModifier; accelerationVector.y = directionVector.y * (float)accelerationModifier; // Set friction based on how "floaty" controls you want shipSpeedVector.x *= 0.9f; //Use a variable here shipSpeedVector.y *= 0.9f; //<-- as well shipSpeedVector += accelerationVector; shipPositionVector += shipSpeedVector; gameObject.transform.position = new Vector3(shipPositionVector.x, 0, shipPositionVector.y); } }

    Read the article

  • Panning a 3d viewport in 2d direction with rotated camera

    - by Noob Game Developer
    I am using below code to pan the viewport (action script 3 code using flare3d framework) _mainCamera.x-= Input3D.mouseXSpeed; _mainCamera.z+= Input3D.mouseYSpeed; Where as Input3D.mouse[X|Y]Speed gives the displacement of the mouse on the X/Y axis starting from the position of the last frame. This works perfect if my camera is not rotated. However, if I rotate the camera (x by 30, y by 60) and pan the camera then it goes wrong. Which is actually correctly panning according to the code. But this is not desired and I know I need to do some math to get the correct x/y which I am not aware of it. Can some one help me achieving it? Update: I am getting an Idea but I am not sure how to do it :( Get the mouseX/Y deltas (xd,yd) Get the current camera coords (pos3d) Convert to screen coords (pos2d) Add deltas to screen coords (pos2d+ (xd,yd)) Convert above coords to 3d coords

    Read the article

  • Ubuntu 12.10 not properply working on Asus u46E after Update

    - by John Oakland
    I recently installed the latest Ubuntu update on my laptop and since then, the alignment on the browser is messed up, the mouse is not working, and I can't connect to the internet. Before it was working perfectly. Any ideas on what to do? Thanks for any feedback FYI: I am right now using windows since I have both linux and windows on my laptop. Also, when booting I do have the option to boot previous ubuntu versions, when I boot the previous unbuntu version on my laptop, everything works accept except the internet. (the mouse works, alignment is proper)

    Read the article

  • after upgrade from 10.04 to 10.10, no keyboard, cannot login

    - by avar
    Hello, just did upgrade from kubuntu 10.04 to 10.10.. after all done and reboot, when the login box shows up, my keyboard and laptop pad ( mouse ) dosn't work, (plugged in the usb mouse, it works sometimes) but never keyboard. i went to recovery , the boot hung up when it says : [ 17.704053] EXT4-fs (sda9): mounted filesystem with ordered data mode Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done. stuck here. nothing works except ctrl+alt+del i tried booting from livecd and update-grub, also tried booting manually from grub command line, everytime it stuck at lines above .. so it's not grub problem . how to solve this ? if it is important, i have ATI mobility radeon HD 5470 card .

    Read the article

  • Restoring two finger middle click again

    - by Thomas A.
    it used to be that tapping two fingers on the touchpad send a middle mouse click. Now it does a right click and three fingers now are the middle click. I really can't understand the change and think it is a bug or badly copied from Apple or something. The reasoning escapes me totally. I use middle click to open links in a new tab in the browser all day and I rarely use right click (and I have a right mouse button below the touchpad, doh) Tapping three fingers on my tiny EeePC touchpad is next to impossible so I want the old behavior. I found: synclient TapButtons2=2 synclient TapButtons3=3 but that did not work on 10.10 Does anyone know how to restore sane behavior?

    Read the article

  • How do I un-zoom compiz?

    - by Ken
    I'm using a keyboard I'm not used to, and I hit Super_L instead of Alt_L when I middle-mouse-dragged across the screen. On this Ubuntu 10.04 with Compiz, apparently, this zooms the screen to the area that I dragged across. Now I'm stuck. I can super-middle-drag across a bigger area, but apparently I can't quite hit all of the corners exactly because the screen still moves a bit when I move the mouse around. How do I undo this zoom effect completely? This looks like "EZoom", which says that super-"1" (default keybinding, anyway) should reset it, but that doesn't seem to work here. Close...

    Read the article

  • Collision detection doesn't work for automated elements in XNA 4.0

    - by NDraskovic
    I have a really weird problem. I made a 3D simulator of an "assembly line" as a part of a college project. Among other things it needs to be able to detect when a box object passes in front of sensor. I tried to solve this by making a model of a laser and checking if the box collides with it. I had some problems with BoundingSpheres of models meshes so I simply create a BoundingSphere and place it in the same place as the model. I organized them into a list of BoundingSpheres called "spheres" and for each model I create one BoundingSphere. All models except the box are static, so the box object has its own BoundingSphere (not a member of the "spheres" list). I also implemented a picking algorithm that I use to start the movement. This is the code that checks for collision: if (spheres.Count != 0) { for (int i = 1; i < spheres.Count; i++) { if (spheres[i].Intersects(PickingRay) != null && Microsoft.Xna.Framework.Input.ButtonState.Pressed == Mouse.GetState().LeftButton) { start = true; break; } if (BoxSphere.Intersects(spheres[i]) && start) { MoveBox(0, false);//The MoveBox function receives the direction (0) and a bool value that dictates whether the box should move or not (false means stop) start = false; break; } if (start /*&& Microsoft.Xna.Framework.Input.ButtonState.Pressed == Mouse.GetState().LeftButton*/ && !BoxSphere.Intersects(spheres[i])) { MoveBox(0, true); break; } } The problem is this: When I use the mouse to move the box (the commented part in the third if condition) the collision works fine (I have another part of code that I removed to simplify my question - it calculates the "address" of the box, and by that number I know that the collision is correct). But when I comment it (like in this example) the box just passes trough the lasers and does not detect the collision (the idea is that the box stops at each laser and the user passes it forth by clicking on the appropriate "switch"). Can you see the problem? Please help, and if you need more informations I will try to give them. Thanks

    Read the article

  • Dell Vostro 1510 trackpad

    - by user18055
    A week ago I moved totally from Windows 7 to Ubuntu. I've been really happy with the transition bar one annoying glitch. My trackpad sometimes works, sometimes doesn't. All other hardware including peripherals work flawlessly, including a Logitech ball mouse, Wacom Bamboo pen and touch and wireless Logitech keyboard and mouse combo. I can't see any pattern to when and why the trackpad works. Occasionally on rebooting, it will work, but then I can reboot 10x in a row and it won't work, then I leave it a day, then reboot and it works flawlessly. Any ideas on a solution or appropriate method for me to deb it? My knowledge of Ubuntu/Linux is sketchy at best so I could do with a little help :)

    Read the article

  • Ubuntu "Server" but with a better terminal?

    - by RiMMER
    I'm currently using Ubuntu Server installed in VirtualBox for running various server services. The only drawback it posses for me is that I cannot use mouse in the terminal and select/copy/paste stuff. What would be an alternative in this situation to get a better terminal? I guess Ubuntu Server itself doesn't support mouse, so I'd have to go for Ubuntu Desktop, but it seems like a huge waste of resources to run Unity/Gnome3 in VirtualBox only to have a terminal. So then I'm wondering whether Xubuntu/Lubuntu would be suitable alternatives, although they still take a lot of time to boot up, etc. Any ideas how to solve this scenario?

    Read the article

  • Problems after upgrading from 10.04 to 12.04

    - by Paul D
    I upgraded to 12.04.1 from 10.04 recently and am running the Gnome Classic (no effects) desktop. I spent a couple of days tweaking the appearance and behaviour but there are two issues that I can't resolve. The mouse cursor frequently disappears, especially when scrolling through web pages or hovering over links/icons with tooltips. Moving the mouse brings the pointer back but it vanishes again almost immediately. Note I don't have unclutter or Parallels installed. The screen no longer fades to black when left idle for too long - it just cuts out. Bad news when watching content online. Any tips greatly appreciated. Cheers...

    Read the article

  • how to bind super+s to indicator applete complete? - gnome classic

    - by rrosa
    i use gnome classic, i'm not a mouse fan. when i get an email while i'm writing code, i i would super+s to get to the indicator-applet-complete and read it. also to write emails, or check unread instant messages. upgrading from 12.04 to 14.04 made super+s bind to applications menu rather than the indicator applet complete. i removed the binding from the applications using dconf-editor, navigating to: org-gnome-desktop-wm-keybindings and disabling (['disabled']) the panel-main-menu key. now, how do i bind super+s to the indicator applet complete? it seems to be some how binded, since if if press super+s and then move the cursor over the applet it'll open the drop down menus (and it won't if i hover without pressing super+s) but i don't want to have to use the mouse...

    Read the article

  • Detecting pixels in a rotated Texture2D in XNA?

    - by PugWrath
    I know things similar to this have been posted, but I'm still trying to find a good solution... I'm drawing Texture2D objects on the ground in my game, and for Mouse-Over or targeting methods, I'm detecting whether or not the pixel in that Texture at the mouse position is Color.Transparent. This works perfectly when I do not rotate the texture, but I'd like to be able to rotate textures to add realism/variety. However, I either need to create a new Texture2D that is rotated at the correct angle so that I can detect its pixels, or I need to find some other method of detection... Any thoughts?

    Read the article

  • ATI Radeon HD7000 Series (Laptop) - Switch Mode Between ATI & Intel Integrated GPU. Stuck on Boot Screen On Intel GPU Selection Mode

    - by Monkey Drone
    Laptop Specs: HP Pavilion G6-2020SE GPUs 1) ATI HD7000 Series 2) Intel Integrated OS Installed: x) Ubuntu 12.04 (64 bit) i) ATI Graphics Card Drivers Installed From AMD website. Note: Graphics Card Drivers are Working Fine in 3D Mode. It runs a little Hot as it should since its a GPU. Observation) AMD Catalyst Control Centre Lets me Choose If I want to run the system in HIGH-END (ATI GPU) OR Intel Integrated (Better battery life) While I am on High End GPU Choice, Ubuntu works fine. Problem) But when I switch to Intel Mode in the AMD CCC and reboot the Machine. Ubuntu goes into 'Low Graphics Mode'. The problem is not that it goes into low graphics mode, it is completely expected since I am no longer using the ATI GPU but the integrated Intel GPU. Problem starts with the 'Selection' of the options. During that screen, I have no mouse on the screen (even tried plugging in an external USB mouse) & No Keyboard functionality. Thus I am left completely disabled to choose any option and load into Ubuntu. The Only thing I can do is switch to a terminal and enable ATI GPU through command-line and Ubuntu works Fine again. Is it a bug that there is no mouse/keyboard available to me during the startup of Ubuntu when its launched in Low-Graphics Mode? Any suggestions on how to pass through that? My palms are sweating as I write this down because the ATI GPU is really heating up my laptop. I dont want to boot into Windows or keep it around any longer than necessary. Please advise with help and directions. Sincerely, MonkeyD Edit1: The Answer by Celso has helped me switch to Intel, thus giving me sufficient battery power. Kudos to Celso. Now I can at least use my laptop for the time being without having it burn hair off my skin. I am still looking for answer to my original question of, 'why is lightdm not working properly when I switch to Intel GPU using ATI HD7000 series official drivers provided by AMD'.

    Read the article

  • How can I fix indicator's behaviour?

    - by iSmite
    I recently switched to Ubuntu 11.10 from Windows. The panel has been acting really weird lately. What happens is when I click on sound icon to change volume, the menu for Bluetooth connectivity pops up. When I try to hover over the popped up menu, the latter disappears the moment I move my mouse. It is just not one icon that has been troubling me. When I click on network icon in the panel, it pops-up the menu for Chat and then the popped-up Chat menu just disappears as soon as there is a movement of the mouse. I hope I was able to explain my situation. I am sure you must be aware of this issue. Please advise. Thanks.

    Read the article

  • Ubuntu freezes when gdm starts

    - by Enrique
    I have Ubuntu 10.10 (upgraded from 10.04) I was browsing in Firefox yesterday, then the PC suddenly did a reset Once it restarted, everything went normal until gdm begun showing. Then everything froze and locked when userlist showed. I can't move mouse pointer nor do anything with keyboard at this point (just after userlist shows in gdm). PS: Both, mouse and keyboard work fine, because this Ubuntu is dual-booting with a Windows XP install which loads/works fine. Here is my .xsession-errors file, but I don't have a clue what may be wrong. Thanks http://pastebin.com/GVtneEAF

    Read the article

  • Ubuntu Screensaver Freezes?

    - by user11833
    I am using ubuntu 10.04. Over the last couple of days, I am having a weird problem: once the machine gets into screen saver, it is impossible to get it "out". I do see the mouse cursor move as I move the mouse, but the login popup (with user / password) does not show up and the screen remains "frozen". Any idea what might be going wrong? For the time being, I have no choice but to restart the computer in order to be able to resume work. Thanks.

    Read the article

  • Wired connection not being recognized

    - by maxifick
    I'm on Ubuntu Maverick (10.10). I've read a few threads regarding wired connection problems, but haven't found a solution yet. The problem appears after I connect to a wireless network. When I disconnect wireless and plug in an internet cable, the wired connection is not recognized at all. Even the socket appears dead (there are no diodes flashing). The only solution so far seems to be restarting the computer. Network Manager then tries to connect to a Wi-Fi, but the wired connection is listed and working. I've tried sudo restart network-manager, but that doesn't solve anything. After a while, available wireless networks start appearing, but the wired still doesn't. Any ideas? Thanks in advance. Edit: Here is the dmesg output after switching off Wi-Fi and then plugging the internet cable. [18200.623543] Restarting tasks ... done. [18200.648422] video LNXVIDEO:00: Restoring backlight state [18200.707580] sky2 0000:02:00.0: eth0: phy I/O error [18200.707715] sky2 0000:02:00.0: eth0: phy I/O error [18200.707819] sky2 0000:02:00.0: eth0: phy I/O error [18200.707922] sky2 0000:02:00.0: eth0: phy I/O error [18200.708025] sky2 0000:02:00.0: eth0: phy I/O error [18200.708127] sky2 0000:02:00.0: eth0: phy I/O error [18200.708229] sky2 0000:02:00.0: eth0: phy I/O error [18200.708332] sky2 0000:02:00.0: eth0: phy I/O error [18200.708824] sky2 0000:02:00.0: eth0: enabling interface [18200.709587] ADDRCONF(NETDEV_UP): eth0: link is not ready [18202.662422] EXT4-fs (sda9): re-mounted. Opts: errors=remount-ro,user_xattr,commit=0 [18203.324061] EXT4-fs (sda9): re-mounted. Opts: errors=remount-ro,user_xattr,commit=0 [18211.193137] eth1: no IPv6 routers present [18212.844649] usb 5-1: new low speed USB device using ohci_hcd and address 5 [18213.017235] input: USB Optical Mouse as /devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.0/input/input16 [18213.017499] generic-usb 0003:0461:4D17.0004: input,hidraw0: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:13.0-1/input0 After system restart, dmesg says this: [ 19.802126] sky2 0000:02:00.0: eth0: enabling interface [ 19.802394] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 20.812533] device eth0 entered promiscuous mode [ 21.495547] sky2 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control rx [ 21.495677] sky2 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex, flow control rx [ 21.496574] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

    Read the article

  • ubuntu freezes right after loading

    - by toast
    new install of ubuntu 12.04 i386 desktop.iso on a toshiba satellite intel celeron m gets to the desktop screen and freezes the mouse still moves but nothing responds to it started terminal by pressing ctl+alt+f1 tried "startx" and got this(i cant copy and paste but i will do my best to avoid typos): fatal server error: server is already active for display 0 if this server is no longer running, remove /tmp/.X0-lock and start again please consult the x.org foundation support for help ddxSgiveup: closing log XIO: fatal IO error 11 (resource temporarily unavailable) on x server ":0" after 7 requests (7 known processed) with 0 events remaining. xxxxxx@aaaaaa-Satellite-a105:~$ tried "startx --:1" just took me back to the default wallpaper with nothing else mouse still moves but nothing else

    Read the article

  • how can I change object look point?

    - by jques
    I have tried to load image but system does not give permission. Please look image http://www.rps.net/gunslinger/scrnshot/gunslinger33.jpg I have two arm with two gun, I want to rotate these arm with mouse. For example, if I move mouse position to the left, arms with guns should be move also. Since this is hoby project, I am a bit confort to ask below question ; What should I do to achieve my wish ? some explanation: perspective view gun in viewing direction left click = trigger left gun perspective Feel free to change the title Thanks

    Read the article

  • Upgrade to Ubuntu 13.10 disabled track pad, brightness, sound on Lenovo Z570

    - by Vizir
    I just upgraded to Ubuntu 13.10 using Ubuntu's software update. It seemed to go all right, however after the system restarted and booted up Ubuntu 13.10, it began experiencing several problems. Some of them were due to expected conflicts with the updated OS, however right now I cannot figure out why certain hardware functions are now "broken" and how to fix them. As far as I can tell, these are the sound (permanently muted), mic (picks up no sound), brightness (set at maximum brightness regardless of using keyboard shortcuts or moving the screen brightness slider) and trackpad (mouse does not move, however plugged-in USB mouse does) This sounds to me like a driver issue, however I cannot figure out how to re-enable my drivers, re-install them, or whatever I have to do here. This did not happen durring my upgrades from 12.04 to 12.10, or 12.10 to 13.04, so I'm at a total loss as to why this happened this time around. My computer is a Lenovo Z570, dual-booting Ubuntu and Windows 7 from GRUB 2. Windows is working fine as far as I can tell.

    Read the article

  • Ubuntu thinks I have two displays

    - by ResidentBiscuit
    When I first installed Ubuntu I noticed that my mouse would flicker a lot, which caused me to investigate. I remembered back when I ran Fedora I had an issue where it thought I had two displays (hp-dv7 4285dx laptop). In Fedora, this didn't cause any issues. In Ubuntu, it causes the mouse the flicker a lot. The fix I've been using is to just go into settings displays and disable the display that doesn't actually exist. The only problem is that this is not permanent. Each time I start up Ubuntu, I have to go back in and disable this display. They're each just titled "Built-in Display", and have the same resolution. My laptop does have two graphics cards: one on-board and one dedicated. I'm not sure if maybe that is causing is an issue? Any guidance towards this would be great. Thanks!

    Read the article

  • Some problem about Compiz and GTK on Ubuntu 14.04

    - by LVHoanh
    I installed Ubuntu 14.04 on my computer : i3/4G/750G/VGA Intel HD3000 & 1GB NVidia with CUDA GT540M. I've some problems with Ubuntu 14.04 : Does Ubuntu 14.04 support Emerald Theme Manager? Emerald Theme Manager is not available in Ubuntu Software Center? I installed Compiz and Compiz Setting Manager, it works ok, but the Windows 3D plugin is not work? The Shutdown/Restart function on Right-Top Panel is not work, is there any solution for this problem? The mouse theme I installed only work in current session, next time i restart computer it change back to default mouse theme? How can i resize the spacing between Desktop Icon? Waiting for everyone respond. Thankyou so much. P/s : My English is not good, expect you understand. :)

    Read the article

  • Ubuntu 12.04 Hangs with Software Center open then opening Dash Home

    - by Josea
    I have a Dell D610 - Intel graphics - 1 Gig RAM. I have test the hard drive and RAM and both are fine. When I open Software Center, then Dash home my system locks up. The mouse cursor moves but is unresponsive if I try to right or left click anything. The keyboard is totally unresponsive and I have to hold the power button to power off! I have reinstalled from CD, did all updates but the issue persists. I tried using the track pad only, and I plugged in an external mouse also but no change. Everything else works great ! I am sick of running Vista and have no love for Metro! Thanks for any suggestions, on a scale of 1 to 10 (Newbie - Expert) I am about 3

    Read the article

  • how to easy change some colors with special theme?

    - by eexp
    i use AuroraMint as my themes. but some colors mess up my opera. when i use "gnome-appearance-properties-customize theme-Colors", i only can found input boxes' text color here. but i still want change background colors in email list (opera use GTK theme here). Gui give only 4 group colors here, so poor. GtkColorScheme=fg_color:#cbf6d4d4bf8c,bg_color:#311133332e14,text_color:#8713a9515723,base_color:#444f47474026,selected_fg_color:#f554ffffe666,selected_bg_color:#9797bfbf6060,tooltip_fg_color:#000000000000,tooltip_bg_color:#f5f5f5f5b5b5 i thought maybe some software can use mouse click to found out widgets under mouse point, for i does not know which widget is email list used (if i change gtkrc file).

    Read the article

< Previous Page | 176 177 178 179 180 181 182 183 184 185 186 187  | Next Page >