Skip to content

Thalesalex/piu-kb-hook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pump It Up Keyboard Hook - Now with Infinity support

Tool that allows you to use your keyboard on Pump It Up.

This fork uses a different approach of hooking the Keyboard inputs, making this compatible with Pump It Up Infinity while keeping compatibility with KPUMP games (tested with Prime 2).

Shoutouts to all members of KRT - Konmairo Rhythm Team

KRT - Konmairo Rhythm Team

Usage

Download the pre-compiled binary or compile it, then add it to LD_PRELOAD before executing Prime, Prime 2 or Infinity.

Default keys

Esc to quit game, F1 for test, F2 for service, F3 for coin clear, F5 for player 1 coin, F6 for player 2 coin

Pad layout:

Q   E   7   9
  S       5
Z   C   1   3
Pad 1   Pad 2

Compiling

Requires an atleast C++11 compliant compiler.

To compile it yourself, run these commands:

sudo apt-get install git build-essential libx11-dev
git clone https://github.com/Thalesalex/piu-kb-hook
cd piu-kb-hook
make

You'll now have a kb_hook.so file in the aforementioned directory.

Known Issues

I noticed that K-Pump games (Again, tested with Prime 2) doesn't like when Wine is installed and you have any mouse device conected, making the game segfault just before starting its attract mode, tried fixing this with no success, removing Wine solved the problem. Infinity is not affected by this issue, so I'm not motivated to fix it, if you REALLY need Wine installed, use this fork only with Infinity and just use the original code or other forks for K-Pump

About

Pump It Up keyboard hook

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.3%
  • Makefile 0.7%