QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

I have a two button mouse, can I emulate a three button mouse?

Cygwin/X Frequently Asked Questions
Yes. Pass the -emulate3buttons timeout_in_milliseconds parameter to XWin.exe, where timeout_in_milliseconds is the, optional, maximum number of milliseconds between a button release and opposite button press that will trigger an emulated third button press.

What mouse functions does the touchscreen emulate?

Frequently Asked Questions
The touchscreen is an input device like a mouse or trackpad, and it emulates basic mouse functions. The touchscreen can emulate left-clicks, double-clicking, and dragging. When the screen is touched, it is the same as if you used your mouse to move the pointer to that spot, and then clicked your mouse button. Right-clicking can be done with additional software.

How do I get a Button to actively change under my mouse pointer?

comp.lang.perl.tk FAQ
You should specify both an '-image' and an '-activeimage' configuration option either when calling the ->Button() method or in a later separate call to the ->configure() method. Here is an example excerpted from the basic_demo script that comes with the Tk kit: #!/usr/local/bin/perl -w use Tk; $main = MainWindow->new; $QPBFile = "demos/images/QuitPB.xpm"; $QPBaFile = "demos/images/QuitPBa.

Why is the right mouse button disabled?

FAQs
To discourage visitors copying the content without asking. If you want a copy any of the content e-mail me at webmaster@spyflight.co.uk and I'll almost certainly forward what you want.

Can you please emulate ?

emuhype
We will try to emulate all the games that run on the Sega System 32 and Multi32 hardware as long as they are dumped. Both authors have fairly demanding jobs and cannot spare large amounts of time to work on the emulation, however.

Can you emulate it?

Jurassic Park 3: Park Builder FAQ Walkthrough
Yes, but remember people- it's ILLEGAL! So don't ask for any roms from me ever, as I will not supply them.

How do I know which mouse button was pressed, and how often?

Java Programmer's FAQ
To handle mouse events you have to implement the MouseListener interface, or derive from the MouseAdapter class in order to use one of the mouse handling methods. The MouseEvent argument passed to the handling methods contains fields that say which button was pressed, and the click count. Use code like this. public void mouseClicked(MouseEvent m) { boolean leftButtonPush = (m.getModifiers() & java.awt.event.InputEvent.BUTTON1_MASK) != 0; boolean centerButtonPush = (m.getModifiers() & java.awt.

How do I disable the right mouse button?

comp.lang.javascript FAQ - 9.91 - 2008-01-19
The oncontextmenu intrinsic event is the only safe and reliable method. Of the other approaches often presented, most depend on an alert box interrupting the process and rarely work. Note that oncontextmenu is a non-standard event and is not supported on all browsers. <body oncontextmenu="return false">

How do I use Emacs with a two-button mouse?

GNU Emacs FAQ for Windows
Emacs assumes that you have a three-button mouse by default. However, if you have a two-button mouse, you can press both buttons at once to emulate the missing middle button expected by Emacs. Three variables control mouse button emulation under Emacs: w32-num-mouse-buttons, w32-mouse-button-tolerance, and w32-swap-mouse-buttons (win32-num-mouse-buttons, win32-mouse-button-tolerance. If you use help on w32-num-mouse-buttons (i.e.

How do I get Emacs to recognize the third button on my mouse?

GNU Emacs FAQ for Windows
If you have a three-button mouse, Emacs should recognize and support the third (middle) button automatically. However, some people find that they have a three button mouse, but the middle mouse button does not work for them. First check to see if w32-num-mouse-buttons is set correctly. If so, then check to see whether your mouse has been installed with the proper driver (open Control Panel->Mouse to examine the driver being used).

How do I cut and paste with a 2 button mouse?

FAQ (Diff)
Plan 9 really works well only with a three-button mouse. In the meantime, Shift-Right-button will simulate a middle button, but that is inadequate for acme's chording.

I've only got a two button mouse, how do I get at menus?

Red Squirrel - Acorn Archimedes and RiscPC Emulator
The best way is to go out and buy a 3 button or wheel mouse. However you can also program the Windows 'Menu' key to act as a third mouse button. Typically this has an image of a menu with a pointer on it. Use the Keyboard options to select the button you wish to emulate (you may have to try a few times to get it right).

Can I take screenshots using a button on my mouse or joystick?

Xfire - FAQ
If the mouse or joystick included software for mapping buttons to keyboard keys or macros, then yes you should be able to. Set your Screenshot key or key combo in Tools | Options | Chat tab. Then using your mouse or joystick configuration software, map that key to a button on the gaming device.

Why won't my two button mouse work with DOOM?

Doom FAQ
DOOM's SETUP.EXE program assumes that one has a three button mouse. The left button is "fire," the right button is "forward," and the center button is "strafe." If you run the setup program that comes with DOOM, you can assign "strafe" to the right mouse button, and the setting for "Move Forward" then appears to be blank. In actuality, "Move Forward" is set to be permanently "on." This can be fixed easily. Edit the file "DEFAULT.CFG" in your DOOM directory with any text editor.

How do I drag stuff around without the strain of holding down the mouse button?

RSIGuard
The easiest way to drag something with the mouse is to use the DragLock hotkey. Press the Drag Lock hotkey, and RSIGuard will click down. Move the mouse around or use the arrow keys to drag whatever you clicked on around. To end the drag, either press any key (except the arrow keys) or click the mouse. You can drag a window around, drag to select things, drag to scroll in a window, or do anything else that normally requires tensely holding down the left mouse button.

How do I determine if a mouse button is pressed and moving over a form?

Mouse Handling - Windows Forms FAQs
Catch the form's MouseMove event which is called when the mouse moves over the form. To determine if a button is pressed during the move, check the event arg's Button property. The code below draw's a line on the form as the mouse moves over...

Q: I don't have a three-button mouse, but I need three buttons for my X clients. How do I do this?

The MI/X 4.2 FAQ
Currently, if you want to have three buttons for your X clients, you need to have a three button mouse on your PC. If you want to use the paste/insert text function in X which is by default mapped to the middle button which is unavailable on the PC, then there may be a workaround: You can use the xmodmap program to modify how the mouse events from the server (MI/X) are interpreted by the X client (i.e. xterm).

RCT just crashed when I pressed the Right mouse button! Why?

Frequently Asked Questions - Games - http://maxpages.com/rol...
It’s caused by a conflict between the mouse driver and Microsoft’s DirectInput code. One driver which causes this problem is the ‘Genius NetMouse’ mouse driver, and it can be solved by removing the driver from Windows, and then installing a ‘standard serial mouse’ driver, or ‘standard PS2 mouse’ driver. You must find and remove the file named RCT.ICD from your Hard drive. The easiest way to do this is to use the Windows 'Find' feature.

Is it possible to know which button user pressed in mouse events?

Java Language FAQs
Use the following code to know which button is pressed. public void mousePressed( java.awt.event.MouseEvent evt) { if ( evt.getModifiers() == InputEvent.BUTTON1_MASK) // left button process else // right button process }
More Questions >>

© Copyright 2007-2013 QueryCAT
About • Webmasters • Contact