Razer Abyssus mouse sends click events but no movement in X
This is very strange: my mouse sends click events to X, but it does not move the cursor. I don't have any funny packages installed and don't have an xorg.conf. What can I do to make my mouse work?
Bus 005 Device 003: ID 1532:001c Razer USA, Ltd RZ01-0036 Optical Gaming Mouse [Abyssus]
Whooa, ok ... after unplugging it and plugging it back in, it works. Strange.
Similar Messages
-
Horizontal scroll on MX1000 sends click event as well. [SOLVED]
As in the topic, I'm having problems with the horizontal scroll sending regular click events to apps as well as the scrolling, making the function pretty unusable. All my other keys work exactly as they should.
As for my configuration, I'm running evdev, and I have "pointer = 1 2 3 4 5 7 6 8 9 10 11 12" in xmodmap.
Ive tried changing the input with both imwheel and xbindkeys, but none of them would intercept the horizontal scroll. (Strange though, since it works fine with the other buttons)
I don't know what else I can do. Is it just a lost cause?
P.S: I know it's not app dependent, because I have tried it with every application I have.
Last edited by Aziere (2007-03-25 16:05:48)I prefer evdev because I can't seem to get the thumb buttons to work without it.
As for xev:
ButtonPress event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x1e00002, time 1058103, (48,34), root:(471,325),
state 0x10, button 13, same_screen YES
EnterNotify event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x0, time 1058103, (48,34), root:(471,325),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 16
KeymapNotify event, serial 31, synthetic NO, window 0x0,
keys: 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonPress event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x1e00002, time 1058127, (48,34), root:(471,325),
state 0x10, button 6, same_screen YES
ButtonRelease event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x1e00002, time 1058127, (48,34), root:(471,325),
state 0x10, button 6, same_screen YES
LeaveNotify event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x0, time 1058127, (48,34), root:(471,325),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 16
ButtonRelease event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x1e00002, time 1058263, (48,34), root:(471,325),
state 0x10, button 13, same_screen YES
ButtonPress event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x1e00002, time 1127089, (43,37), root:(466,328),
state 0x10, button 14, same_screen YES
EnterNotify event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x0, time 1127089, (43,37), root:(466,328),
mode NotifyGrab, detail NotifyInferior, same_screen YES,
focus YES, state 16
KeymapNotify event, serial 31, synthetic NO, window 0x0,
keys: 38 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonPress event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x1e00002, time 1127105, (43,37), root:(466,328),
state 0x10, button 7, same_screen YES
ButtonRelease event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x1e00002, time 1127105, (43,37), root:(466,328),
state 0x10, button 7, same_screen YES
LeaveNotify event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x0, time 1127105, (43,37), root:(466,328),
mode NotifyUngrab, detail NotifyInferior, same_screen YES,
focus YES, state 16
ButtonRelease event, serial 31, synthetic NO, window 0x1e00001,
root 0x155, subw 0x1e00002, time 1127489, (43,37), root:(466,328),
state 0x10, button 14, same_screen YES
Seems pretty obvious what the problem is. It sends button 13/14 as input first, the continues with 6/7 which is the scroll. So what do I do to fix that? -
Send Click Event to System Form
Hi, i want to open a system form and open a specific entry.
but how can i send the button the click event?
what i was doing was:
sDocEntry = oCompany.GetNewObjectKey();
SBO_Application.ActivateMenuItem("1540");
oForm = SBO_Application.Forms.ActiveForm;
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
((SAPbouiCOM.EditText)oForm.Items.Item("141").Specific).Value = sDocEntry;
((SAPbouiCOM.Button)oForm.Items.Item("1").Specific) ????
how can i do it??
regards
PhilippHI,
sDocEntry = oCompany.GetNewObjectKey();
SBO_Application.ActivateMenuItem("1540");
oForm = SBO_Application.Forms.ActiveForm;
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
((SAPbouiCOM.EditText)oForm.Items.Item("141").Specific).Value = sDocEntry;
((SAPbouiCOM.Button)oForm.Items.Item("1").click()
Regards,
J.
Ps: vote and points. -
Mouse right click event?
Hello~~
I'm now developing a game which need to click right mouse button, but i dont know how to implement this event int mouseClicked(MouseEvent e) method. Can anyone konw how to code it ..
thank~check out these postings and see if it helps.
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=571926
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=546064 -
How can i disable mouse right clicking event
I need in my project to disallow any body to right click the mouse. Can i disable this event to prevent user of the application from right clicking if yes how can i disable it.
I have code written in Visual Basic doing the same task but i don't know how to transfer those code in java
The following is a code for that:
Option Explicit
'declares
Public Declare Function SetWindowsHookEx Lib "user32" Alias "SetWindowsHookExA" (ByVal idHook As Long, ByVal lpfn As Long, ByVal hmod As Long, ByVal dwThreadId As Long) As Long
Public Declare Function UnhookWindowsHookEx Lib "user32" (ByVal hHook As Long) As Long
Public Declare Function CallNextHookEx Lib "user32" (ByVal hHook As Long, ByVal nCode As Long, ByVal wParam As Long, lParam As Any) As Long
'constant
Private Const WH_MOUSE_LL = 14&
Public Const HC_ACTION = 0&
Public Const WM_RBUTTONDOWN = &H204
Public Const WM_RBUTTONUP = &H205
Public Const VK_RBUTTON = &H2
Private lMShook As Long
Private bHookEnabled As Boolean
'functions which process mouse events
Public Function MouseProc(ByVal nCode As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
If nCode = HC_ACTION Then
If (wParam = WM_RBUTTONUP Or wParam = WM_RBUTTONDOWN) Then
MouseProc = 1
Exit Function
End If
End If
MouseProc = CallNextHookEx(lMShook, nCode, wParam, lParam)
End Function
Public Function SetHook()
If lMShook = 0 Then
lMShook = SetWindowsHookEx(WH_MOUSE_LL, AddressOf MouseProc, App.hInstance, 0&)
End If
If lMShook = 0 Then
MsgBox "failed to install hook :" & lMShook & " : " & WH_MOUSE_LL
bHookEnabled = False
Unload Form1
Exit Function
Else
bHookEnabled = True
End If
End Function
Public Function UnSetHook()
If bHookEnabled Then
Call UnhookWindowsHookEx(lMShook)
lMShook = 0
End If
bHookEnabled = False
End Function
Public Function InstalledHook()
MsgBox " installed hook is :" & lMShook
End Function
code for form is below:
Option Explicit
Private Sub Command1_Click()
InstalledHook
End Sub
Private Sub Command2_Click()
Call SetHook
End Sub
Private Sub Command3_Click()
Call UnSetHook
End Sub
Private Sub Form_Unload(Cancel As Integer)
Call UnSetHook
End Sub -
hi
im really new to programming,
i have a jlist populated from ms-access,i just want to capture a event only when the item is double
clicked.
can anybody please get me the code for capturing the data only when the mouse is double clicked.
-thanksHope this will helps to you.
public void mouseClicked(MouseEvent e) {
if(e.getClickCount() == 2) {
JOptionPane.showMessageDialog(null,"Double click captured");
}Thanks -
The question is following: when you are pushing right button in the window of a working vi you see the build-in context menu of labview. Is it possible to customize it, or create the new one?
www.xinstruments.com
Custom Software for Industrial Automation
www.hdrconverter.com
Picture processing made easyThere's no nuilt-in LabVIEW function or tool to do it, but Dave Ritter published an artical in the LabVIEW Technical Resource last year that described how to do this. It uses the Event Structure so you need to have at least LabVIEW 6.1.
You can read a bit of the artical here. There's also a link on the bottom of the page where you can purchase that issue to get the entire artical and sample code.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences. -
Af:selectOrderShuttle-Implementing Mouse Double Click Event to Call Method?
Hi All,
I want to execute a method by double clicking on a value selected in af:selectOrderShuttle. Any idea about how to achieve it?
Best Regards
BilalHi Timo,
Thanks for the response.
Is it possible to get the value of currently selected item of the af:selectOrderShuttle from af:clientListener?
Best Regards
Bilal -
How to post an Event (mouse left click) to JTree node
Hi,
I am using JTree for my application just like the windows explorer tree. By default, Jtree node will got focus using left click. But, I'd like that my tree will detect a right click so that I can copy any file to the Jtree. I've added a mouselistener to it but the node is not selected by the right click. Anyboby can teach me how to post a mouse left click event to the Jtree so that it will become selected using left click.
Thanks a millionSee if this is useful
public void mouseClicked(MouseEvent event)
Object object = event.getSource();
if (object == mTree)
mTree_mouseClicked(event);
private void mTree_mouseClicked(MouseEvent event)
if(event.getModifiers()==event.BUTTON3_MASK)
//your logic goes here
}//close method -
How to post an Event (mouse left click) to JTree
Hi,
I am using JTree for my application just like the windows explorer tree. By default, Jtree node will got focus using left click. But, I'd like that my tree will detect a right click so that I can copy any file to the Jtree. I've added a mouselistener to it but the node is not selected by the right click. Anyboby can teach me how to post a mouse left click event to the Jtree so that it will become selected using left click.
Thanks a millionHi
In the class JTree there is a method getClosestPathForLocation(int, int). The parameters are the coordinates which you can get from the MouseEvent. If you have this TreePath you can select the Node.
This should solve your problem.
Regards
Dieter -
Raise a button's click event handler from another event handler
hi,
I am trying to raise a button's click event from another button's click event.
Automation gives a runtime error. I checked out some other forums for answers but they dont work when called from another event handler.
Console.WriteLine(gestureData.name);
if (s==b2) ;
//raise button2's click event
private void b2_Click(object sender, RoutedEventArgs e)
MessageBox.Show("I am button2");
private void b3_Click(object sender, RoutedEventArgs e)
MessageBox.Show("I am button3");
Any help will be appreciated.
Thanks,
Shaleen
TheHexLordHi Andy,
I tried to implement your suggestion.
What I am trying to do is, say there is a label whose content property needs to be updated every time a button b1 is clicked. When the button is clicked , it check if a condition is met and depending upon that condition it updates the content of the label
. Say , if the text entered is "add" and the button is clicked and the label's content is set to "add", if the text entered is "sub" and then the button is clicked, the label's content is set to "sub".
I understand that there is no need to fire up different methods for this as this can be done by checking for conditions in the same button click event but it seems that updating the UI is not happening. I get an error saying.:
A first chance exception of type 'System.InvalidOperationException' occurred in WindowsBase.dll
The program '[6660] WpfApplication8.vshost.exe: Program Trace' has exited with code 0 (0x0).
The program '[6660] WpfApplication8.vshost.exe: Managed (v4.0.30319)' has exited with code -1073741819 (0xc0000005) 'Access violation'.
this goes away when I remove the Label.Content="add" or Label.Content= "sub";
I think the label's content property does not update dynamically.
Thanks
TheHexLord -
Hi, I don't know understand how I can override CheckBox
default click event with my own. I want to do, that if I click with
left mouse button on the ceheckbox, nothing will happen. It means,
that checkbox after clicking is not selected or deselected. I've
tryied event.preventDefault () in the click event but it had no
effect.
Thanks for help.quote:
Originally posted by:
Hyder_m29
As far as I know event.preventDefault() will only prevent the
checkbox from returning the data value. I'm expecting somebody else
to correct/elaborate this. I'm by no means an expert in flex.
Since checkbox has only 2 values, u can simply revert to the
original value.
event.currentTarget.selected = !event.currentTarget.selected
Thank you very much for quick answer. It works for me pretty
well. Although, I would like to know if it is even possible to
override this default event click behaviour. -
Image Field overwrite existing click event
Using LiveCycle 8, I am creating a form which has an image which will change when the user clicks the image object.
I downloaded the trial of Acrobat Professional 8.0. In this version, instead of creating a form in Acrobat, it uses LiveCycle 8. In LiveCycle, there is no Image Button and the Static Image object cannot be scripted. It seems the choice for a dynamic image object is the Image Field. But this object has a default click event which is not required in my form.
Is there a way to replace the default click event on the Image Field object? I would like to overwrite it's click event with my own Javascript script. So far, I can add my own script in the click event, but then both my script and the browse for image file occurs.
Thanks!You can't override an event but you could put a button over top of the image, make it the same color as the background, remove the caption and then when you click the image you are really clicking the button. You can put your code on the click event of the button. make sure the button is in the foreground and the image field is in the background.
-
Where is the Double-click Event in Adobe LiveCycle Designer
Hi Experts:
I was trying to put code into a Double Click event in Adobe LiveCycle Designer, but couldn't find the Event. There is a "Click" event, but that won't do.
Am I missing something here?
Thanks,
JenHi Jen,
I was surprised the double click was missing but I use the following code in the click event, just replace the "[my double click code ]" and "[ my single click code ]" with your single and double click code. This code delays the single click event for 400ms to see if a second click is coming, you might want to play around with the 400ms as you have to balance the responsiveness of a single click with the double click.
if (new Date() - this.date < 400)
app.clearTimeOut(this.timeout);
this.date = undefined;
[my double click code ]
else
if (xfa.event.fullText !== "singleClick")
this.timeout = app.setTimeOut("xfa.event.fullText='singleClick';xfa.resolveNode('"+this.somExpression+"' ).execEvent('click');",500);
else
[ my single click code ];
this.date = new Date(); -
Robot mouseClick with mouse right click
I try to capture mouse right click and fire mouse right click event in robot.mousePress or mouseRelease.
does anybody know how to do this?
Thanks.rocketlad
Welcome to the forum. Please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
I'm locking this thread now.
db
Maybe you are looking for
-
Flash not working and distorting desktop (LINKS TO PHOTOS)
I have tried everything I can think of. Reinstalled Drivers, IE, Firefox (same issues with both) tried Flash 8, Flash 9 tried different order of installs. I have been to S3 site, etc, This site used to work, but then it had issues. I can not be sure
-
What's wrong with my toggle button bar?
I've used one before, and I don't understand why my toggle button bar is not showing the "active" state for the first index of the viewStack it is linked to. Normally, I use mainStack.selectedIndex = 0 and that highlights the first (default) item of
-
Unable to create OSB project in OEPE 11.1.1.6.1
Hi, I have installed weblogic server 10.3.4 with OEPE 11.1.1.6.1 (wls1034_oepe111161_win32.exe) on Windows XP machine. There after I installed Oracle Service Bus 11.1.1.4.0 (ofm_osb_generic_11.1.1.4.0_disk1_1of1.zip). When I open OEPE I do not find t
-
hi all, i want to add report that i have made in my menu, i m using oracle developer 6i forms and reports how to add ?? Regards Abhi.
-
Newest security update is very slow to install
Newest security software update is very slow to install for MacBook Pro