skasada / os-x-voodoo-ps2-controller

Automatically exported from code.google.com/p/os-x-voodoo-ps2-controller
Other
0 stars 0 forks source link

Modified VoodooPS2Controller by RehabMan

How to Install:

Please read and follow the important instructions for installing in the wiki:

https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/wiki/How-to-Install

Downloads:

Downloads are available on Bitbucket:

https://bitbucket.org/RehabMan/os-x-voodoo-ps2-controller/downloads

Note: Archived (old) downloads are available on Google Code:

https://code.google.com/p/os-x-voodoo-ps2-controller/downloads/list

Build Environment

My build environment is currently Xcode 6.1, using SDK 10.8, targeting OS X 10.6.

No other build environment is supported.

32-bit Builds

Currently, builds are provided only for 64-bit systems. 32-bit/64-bit FAT binaries are not provided. But you can build your own should you need them. I do not test 32-bit, and there may be times when the repo is broken with respect to 32-bit builds, but I do check on major releases to see if the build still works for 32-bit.

Here's how to build 32-bit (universal):

probably not necessary, but a good idea to check that the targets don't have overrides:

Or, if you have the command line tools installed, just run:

Source Code:

The source code is maintained at the following sites:

https://code.google.com/p/os-x-voodoo-ps2-controller/

https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller

https://bitbucket.org/RehabMan/os-x-voodoo-ps2-controller

Feedback:

Please use the following threads on tonymacx86.com for feedback, questions, and help:

http://www.tonymacx86.com/hp-probook/75649-new-voodoops2controller-keyboard-trackpad.html#post468941 http://www.tonymacx86.com/mountain-lion-laptop-support/87182-new-voodoops2controller-keyboard-trackpad-clickpad-support.html#post538365

Fun Facts:

While implementing the "just for fun" feature in the keyboard driver where Ctrl+Alt+Del maps to the power key (for selection of Restart, Sleep, Shutdown), I discovered that if you invoke this function with the Ctrl and Alt (Command) keys down, the system will do an abrupt and unsafe restart. You can verify this yourself by holding down the Ctrl and Alt keys while pressing the actual power button.

Known issues:

Note: often times you will see either of the two problems mentioned above right after installing. Generally, another reboot and/or repair permissions & rebuild caches will fix the problem.

Change Log:

2015-05-02 v1.8.15

2015-02-23 v1.8.14

2014-10-16 v1.8.13

2014-05-23 v1.8.12

2014-02-24 v1.8.11

2014-01-21 v1.8.10

2013-12-05 v1.8.9

2013-09-13 v1.8.8

2013-08-15 v1.8.7

2013-08-05 v1.8.6

2013-07-01 v1.8.5

2013-05-26 v1.8.4

2013-05-07 v1.8.3

2013-04-07 v1.8.2

2013-03-15 v1.8.1

2013-03-04 v1.8.0

2013-02-26 v1.7.17

2013-02-25 v1.7.16

2013-02-21 v1.7.15a (beta)

2013-02-20 v1.7.15 (beta)

2013-02-17 v1.7.14 (beta)

Note: v1.7.13 skipped.

2013-02-07 v1.7.12 (beta)

2013-02-04 v1.7.11 (beta)

2013-01-29 v1.7.10 (beta)

2013-01-27 v1.7.9 (beta)

2013-01-24 v1.7.8 (beta)

2012-11-29 v1.7.7

A future version will allow these command mappings to be changed in the Info.plist. In this version, they are hard-coded.

The amount of movement is controlled by SwipeDeltaX and SwipeDeltaY in the Info.plist. The default for this version is 800.

So, Command+[, Command+] should correspond loosely to back/forward, respectively. And F9 and F10 can be mapped to various functions (Launchpad, Show Desktop, Mission Control, etc.) by changing the assignments in the System Preferences -> Keyboard.

2012-10-30 v1.7.6

2012-10-20 v1.7.5

2012-10-15 v1.7.4

2012-10-13 v1.7.3

2012-10-13 v1.7.2

2012-10-11 v1.7.1:

2012-10-10 v1.7.0:

2012-10-04

History

This repository contains a modified VoodooPS2Controller. Original sources came from this post on Insanely Mac:

http://www.insanelymac.com/forum/topic/236835-updated-2012-genericbrightnesskext/

The sources were pretty old at the time I pulled them (last modified 2009), so there were a few bug fixes they were missing (and could still be missing), but at this point it is the best source base I've found. Current Voodoo sources, in my opinion, were not workable. I couldn't make the Touchpad work at all, and the keyboard driver was doing very strange things (brightness causing computer to reboot). They just didn't seem very close to the versions that we have been using for the HP ProBook. Certainly it would be possible to reconcile these two versions, but after comparing one to the other, I couldn't see any reason to.

I have tried to make the initial commit of this code reasonably close to the sources which I downloaded from the link mentioned above. That way it should be easy to see the progression forward. The commits after that are a different story. There is the occasional gratuitous change that I made while reviewing and attempting to understand the code. That's what you get from a guy that is working for free.

Please note that I'm only testing this on my HP ProBook 4530s. Although it should work fine on other laptops with a Synaptics Trackpad, I haven't tested it on anything but my computer. By the way, the HP ProBook's trackpad reports version 7.5. Related to this is the fact that I haven't tested the "mouse only" part of this driver (ie. VoodooPS2Mouse.kext). I don't have a desktop hack at this point, and even if I did, I don't have any desktop computers with PS/2 ports.

Also, there is a Preference Pane in here, and perhaps at one time it worked. I haven't tested it. Not at all. It builds and that is all I know. At some point, I will take a look at that, and perhaps add some features or at least make it work.

Documentation on the Synaptics hardware can be obtained (at least at the time I write this) from the Synaptics website:

http://www.synaptics.com/resources/developers

I based my code here on the "Synaptics PS/2 TouchPad Interfacing Guide, PN 511-000275-01 Rev.B" I would include the document in the github repository here, but the document is copyrighted and I didn't want to ruffle any feathers.

Future

My intention is to eventually enhance both the Synaptics Trackpad support as well as they keyboard to support the following features:

Touchpad:

Keyboard:

Mouse:

PrefPane:

Original Credits

VoodooPS2Controller (core): turbo

Resolution fix for PS2Mouse: mackerintel

Synaptics driver: mackerintel

Sentelic Driver: nhand42

Alps driver: phb

Keyboard fixes: Chunnan & jape

Synaptics Prefpane design: bumby

Synpatics Prefpane: mackerintel

Great thanks to Dense for helping with activating vanilla trackpad prefpane