Page 91 of 128 FirstFirst ... 41818990919293101 ... LastLast
Results 901 to 910 of 1273

Thread: btnx: Send keyboard and mouse combination events with mouse buttons

  1. #901
    Join Date
    May 2007
    Beans
    69
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by daou View Post
    You can try using "su" as I described in this launchpad bug report: https://bugs.launchpad.net/btnx-config/+bug/198339
    Awww Smack I forgot to reset the userid back to roots. I had tried the script trick previously after perusing this thread but I guess I was tired.

    Anyways thanks, solvedmy problem

    or maybe not...hmmm oh well time will tell replaygain script gain crashed with xorg errors cant access screen :0 etc

    This is just icing anyways...
    Last edited by dasbooter; April 4th, 2008 at 04:02 PM. Reason: weird behavior

  2. #902
    Join Date
    Mar 2008
    Beans
    7

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Thanks, I'll double check the revoco setup and see what happens. And the remapping works fine, not sure what I even need that button for, but now it works!

    Quote Originally Posted by daou View Post
    Remapping the search button in Gnome should help with the Search tool popup. Also, the middle click probably started working after you used revoco: before revoco, the middle click only switches the mode. When changing to mode with revoco, you can get the middle click to act like a button click again and detect it with btnx (this is done in the mouse firmware).

  3. #903
    Join Date
    Mar 2008
    Location
    Spain
    Beans
    3
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Hi,

    I'm new to Ubuntu, two questions about btnx:

    - I have a Logitech G5 mouse, any chance to use the increase/decrease sensibility buttons in btnx (obviously not to increase and decrease sensibility )? It doesn't seem to detect this two buttons (and it works fine with the other ones).

    - What about configuring button behavior for different programs? I mean, I want the "back" button to go back in firefox, but I would like it to Undo in OpenOffice. Just like SetPoint in Windows.

  4. #904
    Join Date
    Jun 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by JoePerkins View Post
    Hi,

    I'm new to Ubuntu, two questions about btnx:

    - I have a Logitech G5 mouse, any chance to use the increase/decrease sensibility buttons in btnx (obviously not to increase and decrease sensibility )? It doesn't seem to detect this two buttons (and it works fine with the other ones).

    - What about configuring button behavior for different programs? I mean, I want the "back" button to go back in firefox, but I would like it to Undo in OpenOffice. Just like SetPoint in Windows.
    It's possible that evdev is interfering with those buttons. Run this command to check if it's in use:
    Code:
    cat /etc/X11/xorg.conf | grep evdev
    Paste the output to this thread. You can also attach the output of another file, which will help to debug the issue:

    Code:
    cat /proc/bus/input/devices
    As for the application specific settings, it's not possible. btnx works at a much lower level than X and the visible applications. It has no idea where your mouse is on the screen and what is on the screen. In fact, you could be running just a command line and btnx would still work as usual.
    echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
    It compiles! Ship it!

  5. #905
    Join Date
    Mar 2008
    Location
    Spain
    Beans
    3
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Nothing happens with
    Code:
    cat /etc/X11/xorg.conf | grep evdev
    With
    Code:
    cat /proc/bus/input/devices
    I get this:

    I: Bus=0017 Vendor=0001 Product=0001 Version=0100
    N: Name="Macintosh mouse button emulation"
    P: Phys=
    S: Sysfs=/class/input/input0
    U: Uniq=
    H: Handlers=mouse0 event0
    B: EV=7
    B: KEY=70000 0 0 0 0 0 0 0 0
    B: REL=3

    I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
    N: Name="AT Translated Set 2 keyboard"
    P: Phys=isa0060/serio0/input0
    S: Sysfs=/class/input/input1
    U: Uniq=
    H: Handlers=kbd event1
    B: EV=120013
    B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
    B: MSC=10
    B: LED=7

    I: Bus=0010 Vendor=001f Product=0001 Version=0100
    N: Name="PC Speaker"
    P: Phys=isa0061/input0
    S: Sysfs=/class/input/input2
    U: Uniq=
    H: Handlers=kbd event2
    B: EV=40001
    B: SND=6

    I: Bus=0003 Vendor=0f03 Product=0001 Version=0100
    N: Name="Ver 1.0 USB To RS232 Interface (V1.0) BaudRate 2400bps"
    P: Phys=usb-0000:00:13.1-1/input0
    S: Sysfs=/class/input/input3
    U: Uniq=
    H: Handlers=event3
    B: EV=20003
    B: KEY=ffff ffffffff ffff0000 0 0 0 0 0 0 0 0 0
    B: LED=2bf

    I: Bus=0003 Vendor=046d Product=c041 Version=0111
    N: Name="Logitech USB Gaming Mouse"
    P: Phys=usb-0000:00:13.1-2/input0
    S: Sysfs=/class/input/input4
    U: Uniq=
    H: Handlers=mouse1 event4
    B: EV=7
    B: KEY=ffff0000 0 0 0 0 0 0 0 0
    B: REL=143

    I: Bus=0000 Vendor=b216 Product=0002 Version=0000
    N: Name="btnx keyboard"
    P: Phys=
    S: Sysfs=/class/input/input5
    U: Uniq=
    H: Handlers=kbd event5
    B: EV=100003
    B: KEY=7fffffff ffffffff ffffffff ffffffff ffffffff 0 0 0 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff

    I: Bus=0000 Vendor=b216 Product=0001 Version=0000
    N: Name="btnx mouse"
    P: Phys=
    S: Sysfs=/class/input/input6
    U: Uniq=
    H: Handlers=mouse2 event6
    B: EV=7
    B: KEY=ffffffff ffffffff ffffffff 0 0 0 0 0 0 0 0
    B: REL=103

    I: Bus=0019 Vendor=0000 Product=0002 Version=0000
    N: Name="Power Button (FF)"
    P: Phys=button_power/button/input0
    S: Sysfs=/class/input/input11
    U: Uniq=
    H: Handlers=kbd event9
    B: EV=3
    B: KEY=100000 0 0 0

    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button (CM)"
    P: Phys=PNP0C0C/button/input0
    S: Sysfs=/class/input/input12
    U: Uniq=
    H: Handlers=kbd event10
    B: EV=3
    B: KEY=100000 0 0 0
    When you say "it's not possible", are you saying "right now" or "never"?
    Last edited by JoePerkins; April 5th, 2008 at 12:09 PM.

  6. #906
    Join Date
    Jun 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by JoePerkins View Post
    Nothing happens with
    Code:
    cat /etc/X11/xorg.conf | grep evdev
    With
    Code:
    cat /proc/bus/input/devices
    I get this:
    Ok, it looks like you won't be able to get those buttons working. Linux itself probably isn't recognizing those buttons.

    One more thing you can do is this: run the command

    Code:
    sudo hexdump /dev/input/event4
    Then look at the output. If nothing happens when you press the buttons, then btnx cannot do anything with them. If you get output when you press the buttons (be careful not to move the mouse) then paste the output here.
    echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
    It compiles! Ship it!

  7. #907
    Join Date
    Mar 2008
    Location
    Spain
    Beans
    3
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    You are right, nothing happens when I press that buttons

    Thanks anyway!

  8. #908
    Join Date
    Oct 2007
    Location
    Midwestern USA
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Hi,

    First off, thank you so much for btnx. It is installed on all my Ubu machines, and it is working wonderfully. It is great for graphics software and just browsing the web. Thank you very much.

    I am using a Logitech mx500. I managed to get it working in Gutsy with earlier versions of btnx. All buttons, wheel, and cruise controls work as they should. Problem is I don't remember what all I did to make it work.

    I am now running Hardy, and the latest version of btnx. I am getting a page back command when I press the "Cruise Up" button. I installed lomoco, and ran the no-sms command, but I am still getting the page back.

    I also seem to have lost the ability to navigate in Nautilus with the thumb buttons. In gutsy, they worked with the same commands as Firefox. I tried pressing ALT-Arrow manually, and that does work .

    I would appreciate any advice to get this working 100% again. I am really happy with Hardy so far, my only problem is I lost some of my mouse buttons, which had been working great. I still have Gutsy installed on this machine, so I can check for settings there, I just don't know what to look for.

    Thank you all so much. This community rocks!

  9. #909
    Join Date
    Apr 2008
    Beans
    2

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Hi,

    I am quite a newbie and I am very sorry if this question is either too simple or has been asked before. But I really cannot find any reference. I have detected my mouse with left + right button and a mouse wheel in btnx 0.4.8. I would like to assign the "left button doubleclick" to one click on the mouse wheel, but I cannot find out how. Is the event that I have to choose the left click + the parameter "type=1"? I read something about this "type=1" parameter, but where do I have to set it?

    TIA,
    malungu
    Last edited by malungu; April 7th, 2008 at 09:23 AM. Reason: found some more info myself

  10. #910
    Join Date
    Jun 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by malungu View Post
    Hi,

    I am quite a newbie and I am very sorry if this question is either too simple or has been asked before. But I really cannot find any reference. I have detected my mouse with left + right button and a mouse wheel in btnx 0.4.8. I would like to assign the "left button doubleclick" to one click on the mouse wheel, but I cannot find out how. Is the event that I have to choose the left click + the parameter "type=1"? I read something about this "type=1" parameter, but where do I have to set it?

    TIA,
    malungu
    It is an unsupported feature but should work. You set the keycode to BTN_LEFT and save the configuration (by quitting btnx-config). Then open the configuration file in a text editor. If the config name is Default, you can find it in /etc/btnx/btnx_config_Default

    Find the button in that file, and change its type field to "type = 1". Save and restart btnx.
    echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
    It compiles! Ship it!

Page 91 of 128 FirstFirst ... 41818990919293101 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •