Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
Trackpoint / pointing stick as a real joystick
Trackpoint / pointing stick as a real joystick
Hey guys. I'm new on the forums and may have a utility to share but only if there's sufficient interest.
There's a neat little joystick utility + driver package out there called Parallel Port Joystick. It's not actively developed any more. It lets you install a virtual joystick driven by various devices such as mouse, keyboard, and gadgets attached to your ports. It has a nice programming interface that lets you send arbitrary data to the joystick driver.
I'm no C programmer but using the sample program provided by the developer of this great utility, I managed to turn the Trackpoint stick into a device that Windows (2000 and later) sees as a real joystick. It shows up in Control Panel / Game controllers as such. You need to toggle between the joystick and mouse modes. It worked on one other non-thinkpad laptop that also has a pointing stick.
Post a note if you could use this utility. The setup is cumbersome and I wouldn't be able to actively support or develop the tool but maybe someone else can.
There's a neat little joystick utility + driver package out there called Parallel Port Joystick. It's not actively developed any more. It lets you install a virtual joystick driven by various devices such as mouse, keyboard, and gadgets attached to your ports. It has a nice programming interface that lets you send arbitrary data to the joystick driver.
I'm no C programmer but using the sample program provided by the developer of this great utility, I managed to turn the Trackpoint stick into a device that Windows (2000 and later) sees as a real joystick. It shows up in Control Panel / Game controllers as such. You need to toggle between the joystick and mouse modes. It worked on one other non-thinkpad laptop that also has a pointing stick.
Post a note if you could use this utility. The setup is cumbersome and I wouldn't be able to actively support or develop the tool but maybe someone else can.
Re: Trackpoint / pointing stick as a real joystick
Sure, post it and let us try it out.
I know the Parallel Port Joystick driver. I remember writing a small program in Python redirecting the APS accelerometer data to the driver. That was back when I had a T41. With that I could simulate a joystick by tilting the laptop. Coincidently I also haven't published it anywhere.
So, make a good example and publish your work.
BTW, does the PPJoy work on Vista/7?
I know the Parallel Port Joystick driver. I remember writing a small program in Python redirecting the APS accelerometer data to the driver. That was back when I had a T41. With that I could simulate a joystick by tilting the laptop. Coincidently I also haven't published it anywhere.
So, make a good example and publish your work.
BTW, does the PPJoy work on Vista/7?
ThinkPad™ X201 / AFFS-120
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10
Re: Trackpoint / pointing stick as a real joystick
Just tried installing it on Windows 7 32bit. I got the "unsigned driver" warning twice during installation but it works. I just downloaded some joystick test program and my accelerometer script works on my T60.
ThinkPad™ X201 / AFFS-120
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10
i5-560M 2.67Ghz, 8GB RAM, Samsung 840 Pro 256GB SSD, Win 8 Pro 64-bit, UltraBase X200, ThinkPad Compact USB Keyboard,
Dell U2713HM (2560x1440, IPS), ExpressCard USB 3.0 (2 ports, flush), Nexus 7+10
-
- Posts: 21
- Joined: Mon May 10, 2010 8:29 pm
- Location: australia, perth, wa
Re: Trackpoint / pointing stick as a real joystick
Hey wow! That sounds really awesome both of you! rubinhood - can I please try your trackpoint mod, and yak, can I please try your accelerometer mod?
I'm using an x61 tablet.
I'm using an x61 tablet.
Re: Trackpoint / pointing stick as a real joystick
Hey guys. Here's the "TPJoy" package:
http://www.mediafire.com/file/s9tu9bq8d15kcy9/TPJoy1.0.zip
(Updated hosting page)
It sucks that I can't attach files to my post in this forum...
I included a README file, please start with that. Install Parallel Port Joystick first, add a Virtual Joystick, and follow the steps in the README. Everything else necessary to use the utility and play with the sources is also included. Good luck. There are no warranties of any kind. If you enhance this utility in any meaningful way, please share your work here and leave the README file intact.
(I never received any topic reply notifications, I wonder why that is...)
Update: if you're concerned about the files in the archive, all you need are the sources (the .c and the .h file) and you can download the rest (Parallel Port Joystick, MingW) from their homepages and compile TPJoy yourself.
http://www.mediafire.com/file/s9tu9bq8d15kcy9/TPJoy1.0.zip
(Updated hosting page)
It sucks that I can't attach files to my post in this forum...
I included a README file, please start with that. Install Parallel Port Joystick first, add a Virtual Joystick, and follow the steps in the README. Everything else necessary to use the utility and play with the sources is also included. Good luck. There are no warranties of any kind. If you enhance this utility in any meaningful way, please share your work here and leave the README file intact.
(I never received any topic reply notifications, I wonder why that is...)
Update: if you're concerned about the files in the archive, all you need are the sources (the .c and the .h file) and you can download the rest (Parallel Port Joystick, MingW) from their homepages and compile TPJoy yourself.
Last edited by rubinhood on Sun Feb 13, 2011 9:14 pm, edited 1 time in total.
-
- Posts: 21
- Joined: Mon May 10, 2010 8:29 pm
- Location: australia, perth, wa
Re: Trackpoint / pointing stick as a real joystick
Thanks so much Rubinhood! I tried it out and got it working in windows 7. It looks as if you've captured the mouse pointer and done math to get the behaviour right. I haven't tried it with any games but I did test with the windows calibration tool and found that if the trackpoint wasn't pushed hard to the sides the pointer was jumping around a fair bit. Calibration definitely helped though.
Would it help if I asked the board admins to enable attachments for this thread?
Would it help if I asked the board admins to enable attachments for this thread?
Re: Trackpoint / pointing stick as a real joystick
Thanks for the good feedback!
If you did that I could attach the package to a post in this topic.thinkpadrobert wrote:Would it help if I asked the board admins to enable attachments for this thread?
-
- Posts: 21
- Joined: Mon May 10, 2010 8:29 pm
- Location: australia, perth, wa
Re: Trackpoint / pointing stick as a real joystick
It's probably easier to post it on rapidshare.
You might be interested to know that ppjoy now includes a mouse to joystick program that works pretty well with the trackpoint.
Since yak didn't post his accelerometer mod, I've started working on one in C#. I'm reading the accelerometer data successfully, but I'm struggling to pass the data into into ppjoy, so any help would be great. Perhaps I could have a look at your source code?
You might be interested to know that ppjoy now includes a mouse to joystick program that works pretty well with the trackpoint.
Since yak didn't post his accelerometer mod, I've started working on one in C#. I'm reading the accelerometer data successfully, but I'm struggling to pass the data into into ppjoy, so any help would be great. Perhaps I could have a look at your source code?
-
- Posts: 21
- Joined: Mon May 10, 2010 8:29 pm
- Location: australia, perth, wa
Re: Trackpoint / pointing stick as a real joystick
Well, I've made a program that'll send accelerometer data into ppjoy!!! I went back to the ppjoy IOCTLsample, read the code from the SDL accelerometer at http://www.almaden.ibm.com/cs/people/ma ... tpaps.html, and managed to put the pieces together despite knowing not very much about windows programming. Thank god the sample code was out there! If you're interested, let me know. Now I can steer cars in racing games by tilting my thinkpad! Awesome!
Re: Trackpoint / pointing stick as a real joystick
Thanks so much. It works great on Win7 32-bit.
240, 380ED, 760C, 760CD, 760E, 760EL, 760LD, 760LD, 760XD, 760XD, A30, E520, G40, I1300, P53, R31, R40, R51, R52, R61, T20, T30, T40, T41, T42, T43, T43P, T60, T61, T400, T410, T420, T430, T460, X1C2, X30, X40, X220, X301 and on, and on, and on...
Re: Trackpoint / pointing stick as a real joystick
PPJoy always had that. The problem is, that Mouse to Joystick component doesn't autocenter the joystick. So it doesn't feel like a joystick at all. For example, if you position the trackpoint to the extreme top left, then release it, it won't go back to the center when you use the standard PPJoy component. That was the reason to develop the TPJoy utility.thinkpadrobert wrote: You might be interested to know that ppjoy now includes a mouse to joystick program that works pretty well with the trackpoint.
Did I miss something...?
BTW great job integrating PPJoy with the accelerometer!
Re: Trackpoint / pointing stick as a real joystick
Can you please reupload the TPjoy utility and the accelerometer extension.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
thinkpad t440p Linux trackpad + trackpoint not working.
by jaggreaney » Thu Nov 09, 2023 2:54 pm » in ThinkPad T430-T490 / T530-T590 Series - 1 Replies
- 2815 Views
-
Last post by RealBlackStuff
Thu Nov 09, 2023 11:48 pm
-
-
-
Original TrackPoint mouse (?) on ebay UK
by ThinkDan » Mon Dec 04, 2023 10:15 am » in Marketplace - Forum Members only - 0 Replies
- 1451 Views
-
Last post by ThinkDan
Mon Dec 04, 2023 10:15 am
-
-
-
TrackPoint on X1
by karotlopj » Sun Jan 21, 2024 5:50 pm » in ThinkPad X1 / X1-Carbon / X1-Extreme and later Series - 4 Replies
- 1032 Views
-
Last post by karotlopj
Sat Jan 27, 2024 5:44 am
-
-
-
X230 trackpoint, mouse buttons and some keys still not working after keyboard change
by frog4 » Mon Jan 22, 2024 4:24 pm » in ThinkPad X230-X280 / X390 Series - 2 Replies
- 1532 Views
-
Last post by frog4
Tue Jan 23, 2024 5:22 am
-
Who is online
Users browsing this forum: No registered users and 4 guests