Pointer Scroll

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
loudermp
Posts: 26
Joined: 13 Oct 2016 05:24

Pointer Scroll

Postby loudermp » 19 Oct 2016 18:55

I am a newbie so I put this here, I have three trackballs two have scroll wheels my question is there a way to enable the ball to emulate the wheel when a key(ex. ctrl) or keys(ex. ctrl+alt) are held down? I found a way to emulate the scroll while a mouse button was pressed but I have been unsuccessful at getting it to work.

Thanks

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Pointer Scroll

Postby Zill » 19 Oct 2016 20:11

loudermp: If you are using SolydX (XFCE) then, with the trackball connected, please open the Whisker menu at the bottom left of the screen.

Select "Settings" > "Mouse and Touchpad" then, on the "Devices" tab select your trackball make and model (or nearest equivalent) from the pull-down list and make sure that "Enable this device" is checked.

You should then be able to configure your trackball settings to meet your requirements.

If you have any difficulty with this please advise the exact make and model of your trackball.

This should work for SolydX and I would expect SolydK (KDE) to have a similar configuration applet. However, as I don't use KDE I cannot comment directly on this. If you do use SolydK then please advise.

loudermp
Posts: 26
Joined: 13 Oct 2016 05:24

Re: Pointer Scroll

Postby loudermp » 19 Oct 2016 22:31

Thanks for the reply but this does not have what I am looking for, I wish it at least had the ability to set the normal scroll emulate and by normal I mean the ball scrolls while a mouse button is pressed.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Pointer Scroll

Postby Zill » 20 Oct 2016 08:10

loudermp: I am sorry that my suggestion did not work for you.

Unfortunately, we are unable to guess either your exact hardware or exactly what you have done. May I suggest that, if you want help, you provide as much information as possible and, specifically, all the information requested.

In this case, we need to know which version of SolydXK you are running (XFCE or KDE) and whether it is the normal (stable) edition or the EE.

Specifically, you need to advise exactly which make/model of trackball you are trying to configure.

It is also worth pointing out that you should boot the machine with this specific trackball connected so as to ensure that it is recognised by the Linux system.

loudermp
Posts: 26
Joined: 13 Oct 2016 05:24

Re: Pointer Scroll

Postby loudermp » 21 Oct 2016 03:07

Sorry, I run SolydX and my PC is an I7 980X, 6GB, Nvidia 480M, three hard drives a 120GB SSD with SolydX, a 64GB with Window 7, and a 320GB hard drive for experimentation; one location has a Kensington Orbit Trackball Mouse with Scroll Ring, one location has a Kensington Expert Trackball Mouse, and the last location has a Logitech Trackman Marble Mouse, I am at each location about 3 to 4 months.

Thanks

I have tried manually editing the mouse settings in xorg.conf and xorg.conf.d folder, might take me some time to get what I entered had an OS issue an had to reload it, unrelated to the mouse issue; loaded xinput and tried it.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Pointer Scroll

Postby Zill » 21 Oct 2016 09:27

loudermp: Three different trackball mice models in three different locations just confuses my simple mind! For the purposes of this exercise, please just stick to one mouse in your current location.
  1. Which mouse is currently connected to your PC?
  2. Do you have a model number, as well as a name, for this mouse?
  3. Have you rebooted the PC with this mouse connected?
  4. Have you found and selected this mouse in the XFCE "Devices" settings as I described earlier?
  5. Which mouse button/wheel/function does not work?
Please open a terminal and post the full output of the following three commands:

Code: Select all

cat /proc/bus/input/devices
cat /usr/share/X11/xorg.conf
ls -l /usr/share/X11/xorg.conf.d/
Please detail the exact changes you have made to the default xorg.conf and xorg.conf.d?

p.s. In order to make the output easily readable on the forums, please enclose each output in "code" tags. e.g.

Code: Select all

[code]my output text
[/code]Note that there is a "Code" button at the top of the forum editing window which does this automatically for any highlighted text.

loudermp
Posts: 26
Joined: 13 Oct 2016 05:24

Re: Pointer Scroll

Postby loudermp » 21 Oct 2016 21:14

I am currently connected with the Kensington Orbit Trackball Mouse with Scroll Ring,
here is the ouput requested,

cat /proc/bus/input/devices

Code: Select all

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0 
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0007 Version=a3b3
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input8
U: Uniq=
H: Handlers=mouse0 event1 
B: PROP=1
B: EV=b
B: KEY=6420 30000 0 0 0 0
B: ABS=11000003

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:24/PNP0C0C:00/input/input10
U: Uniq=
H: Handlers=kbd event3 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:24/PNP0C0D:00/input/input11
U: Uniq=
H: Handlers=event4 
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:24/PNP0C0E:00/input/input12
U: Uniq=
H: Handlers=kbd event5 
B: PROP=0
B: EV=3
B: KEY=4000 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input13
U: Uniq=
H: Handlers=kbd event6 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:03/LNXVIDEO:00/input/input15
U: Uniq=
H: Handlers=kbd event7 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0019 Vendor=1283 Product=0000 Version=0000
N: Name="ITE8708 CIR transceiver"
P: Phys=
S: Sysfs=/devices/virtual/rc/rc0/input14
U: Uniq=
H: Handlers=kbd event8 
B: PROP=0
B: EV=100013
B: KEY=fff 0 200108fc32e 237605100000000 0 700158000 419200004001 8e968000000000 10000000
B: MSC=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="MCE IR Keyboard/Mouse (ite-cir)"
P: Phys=/input0
S: Sysfs=/devices/virtual/input/input16
U: Uniq=
H: Handlers=sysrq kbd mouse2 event9 
B: PROP=0
B: EV=100017
B: KEY=30000 7 ff87207ac14057ff febeffdfffefffff fffffffffffffffe
B: REL=3
B: MSC=10

I: Bus=0001 Vendor=10ec Product=0662 Version=0001
N: Name="HDA Digital PCBeep"
P: Phys=card0/codec#0/beep0
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input17
U: Uniq=
H: Handlers=kbd event10 
B: PROP=0
B: EV=40001
B: SND=6

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input18
U: Uniq=
H: Handlers=event11 
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Line"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input19
U: Uniq=
H: Handlers=event12 
B: PROP=0
B: EV=21
B: SW=2000

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input20
U: Uniq=
H: Handlers=event13 
B: PROP=0
B: EV=21
B: SW=4

I: Bus=0003 Vendor=04d9 Product=1603 Version=0110
N: Name="  USB Keyboard"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.0/0003:04D9:1603.0002/input/input21
U: Uniq=
H: Handlers=sysrq kbd event14 
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=04d9 Product=1603 Version=0110
N: Name="  USB Keyboard"
P: Phys=usb-0000:00:1d.1-1/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.1/0003:04D9:1603.0003/input/input22
U: Uniq=
H: Handlers=kbd event15 
B: PROP=0
B: EV=13
B: KEY=2000000 39fad941d001 1e000000000000 0
B: MSC=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:07.0/0000:03:00.1/sound/card1/input23
U: Uniq=
H: Handlers=event16 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:07.0/0000:03:00.1/sound/card1/input24
U: Uniq=
H: Handlers=event17 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:07.0/0000:03:00.1/sound/card1/input25
U: Uniq=
H: Handlers=event18 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=9"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:07.0/0000:03:00.1/sound/card1/input26
U: Uniq=
H: Handlers=event19 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0003 Vendor=047d Product=2048 Version=0111
N: Name="Primax Kensington Eagle Trackball"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:047D:2048.0005/input/input28
U: Uniq=
H: Handlers=mouse1 event2 
B: PROP=0
B: EV=1f
B: KEY=70000 0 0 0 0
B: REL=143
B: ABS=10000000000
B: MSC=10
cat /usr/share/X11/xorg.conf

Code: Select all

cat: /usr/share/X11/xorg.conf: No such file or directory
ls -l /usr/share/X11/xorg.conf.d/

Code: Select all

-rw-r--r-- 1 root root 1099 Feb 10  2015 10-evdev.conf
-rw-r--r-- 1 root root 1350 Feb 10  2015 10-quirks.conf
-rw-r--r-- 1 root root  590 Jul 18 02:38 11-solydxk-evdev-quirks.conf
-rw-r--r-- 1 root root  364 Jul 18 02:38 11-solydxk-evdev-trackpoint.conf
-rw-r--r-- 1 root root 1753 Sep 17  2014 50-synaptics.conf
-rw-r--r-- 1 root root  115 Jul  8  2014 50-vmmouse.conf
-rw-r--r-- 1 root root 1385 Oct  4  2014 50-wacom.conf
-rw-r--r-- 1 root root  590 Jul 18 02:38 51-solydxk-synaptics-quirks.conf
-rw-r--r-- 1 root root  661 Jul 17 15:49 52-solydxk-synaptics.conf
Everything is reset to the original because I had to reload SolydX for an unrelated reason, I do not have the code I added because of the reload but I will put it together and post it.

Thanks

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Pointer Scroll

Postby Zill » 21 Oct 2016 22:01

It could help if you would advise the following:
Have you found and selected this mouse in the XFCE "Devices" settings as I described earlier?
Which mouse button/wheel/function does not work?

loudermp
Posts: 26
Joined: 13 Oct 2016 05:24

Re: Pointer Scroll

Postby loudermp » 22 Oct 2016 02:57

Oh I forgot to let you know this is the trackball that is selected in the settings/mouse and touchpad app, here is the input class that I added to the files,

Code: Select all

Section "InputClass"
	Identifier	"Trackball"
	MatchProduct	"Primax Kensington Eagle Trackball"
        Driver		"evdev"
	MatchIsPointer	"on"
        MatchDevicePath	"/dev/input/event*"
	Option	"ButtonMapping"		"1 2 3 4 5 6 7 8 9"
	Option	"EmulateWheel"		"true"
	Option	"Emulate3Buttons"		false"
	Option	"EmulateWheelButton"	"4"
	Option	"ZAxisMapping"			"4 5"
EndSection
I tried enabling the third button emulation but it did not seem to work so I disabled it, thanks for your help and patience, like I said this trackball has a scroll wheel but in a couple of days I will be at another location were I will have access to my Logitech Marble mouse which does not have a scroll wheel.

Thanks

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Pointer Scroll

Postby Zill » 22 Oct 2016 11:24

loudermp wrote:I tried enabling the third button emulation but it did not seem to work so I disabled it.
Sorry but I am really having difficulty in determining exactly what you are trying to achieve! Do you actually want "third button emulation" and, if so, why did you disable this option?

Please appreciate that many (most!) of us do not have this mouse and so are not familiar with it. If you have selected this exact mouse in the XFCE settings then it would help if you posted screenshots of all the relevant tabs showing the GUI options available.

It is possible that these options will allow you to configure the buttons etc the way you require without needing to manually edit any config files.

However, without any screenshots we are working in the dark.

loudermp
Posts: 26
Joined: 13 Oct 2016 05:24

Re: Pointer Scroll

Postby loudermp » 22 Oct 2016 16:29

MouseSettings.png
MouseSettings.png (71.7 KiB) Viewed 2598 times
I enabled the third button emulation to see if I was able to use it for scroll emulation button but it seemed to unreliable so I disabled I guess I could have just deleted the code are not changed it at all just do not try to use it, attached is a screen shot of the Mouse and Touchpad under settings is there any other screen shots that should be posted, just noticed lol I ought to name it more descriptively.

I also tried to remap the buttons but that did not seem do anything so I just left the line and just set them to their normal settings.

Just asking do you want me to try anything?

Thanks

Just posted I added an attachment screen shot but it seems to be missing, sorry, what else do I do to get it to show in the post?

Sorry again, figured it out and changed the name, not that I needed to for the post since space is allowed for a comment.

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Pointer Scroll

Postby Zill » 22 Oct 2016 17:03

loudermp: Does the following link help?
https://leho.kraav.com/blog/combine-xf8 ... trackball/

User avatar
ilu
Posts: 2542
Joined: 09 Oct 2013 12:45

Re: Pointer Scroll

Postby ilu » 22 Oct 2016 18:55

You will not achieve this using the GUI, you need to edit configuration files as you already did. The xfce mouse/trackball configuration window is very basic and if you have a non-standard device you won't achieve anything there. Xfce is a very lightweight desktop and that means that that there isn't a gui for everything. That being said I think the tracking device gui is soemthing that desparately needs improvement because you can't reach a setting there that enables you to adequately work with a modern touchpad or a gaming mouse.

Here https://bbs.archlinux.org/viewtopic.php?id=213164 is an example of somebody who at least got the scroll wheel or the 3rd button function to work but not both at the same time because that doesn't work due to a bug in udev.

loudermp
Posts: 26
Joined: 13 Oct 2016 05:24

Re: Pointer Scroll

Postby loudermp » 26 Oct 2016 06:08

I think it is working after adding this to the /etc/share/X11/xorg.conf.d/10-evdev.conf file and rebooting, I saw a post on another site that recommended creating a file which I may try and update this with the result,

Code: Select all

Section "InputClass"
#	Identifier	"Kensington Orbit"
#	MatchProduct	"Primax Kensington Eagle Trackball"
#	Identifier	"Kensington Expert"
#	MatchProduct	"Kensington Kensington Expert Mouse"
	Identifier	"Logitech Marble Mouse"
	MatchProduct	"Logitech USB Trackball"
        Driver		"evdev"
	MatchIsPointer	"on"
        MatchDevicePath	"/dev/input/event*"
	Option	"Buttons"		"9"
	Option	"ButtonMapping"		"1 2 9 4 5 6 7 8 3"
	Option	"EmulateWheel"		"true"
#	Option	"Emulate3Buttons"	"true"
	Option	"EmulateWheelButton"	"3"
	Option	"ZAxisMapping"		"4 5"
EndSection
Thanks for your help.

I put this into a standalone file called /usr/share/X11/xorg.conf.d/53-logitech-evdev-trackball.conf removing the commented lines and it works fine, in case I intially was not clear I had added the above to /usr/share/X11/xorg.conf.d/10-evdev.conf but I removed it when I created the standalone file.


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 8 guests