hrydgard/ppsspp — pull request #117 by unknownbrackets (2012-12-03 05:34:37+00:00)
Title: Make ctrl use sampling and buffers

This makes a few changes:

* On Windows, maps the analog stick to ikjl (wsad was taken.)

This fixes the menu and movement in Tales of Eternia, which can't wrap its head around the analog stick and digital pad doing the same thing simultaneously.

* Implements vblank-based sampling of the controls, adding a listener to sceDisplay.

* Corrects the implementation of `sceCtrlReadLatch()` etc.

* No longer expects the user to call `sceCtrlInit()` (it doesn't seem like a user func based on docs I can find, and none of my games call it.)

* Adds buffer support and waits when no buffers are available (`sceCtrlReadBufferPositive()` can be used like `sceDisplayWaitVblank()` it seems like.)

Now Telegraph Sudoku gets ingame and Pix'n' Love Rush gets to the menu.

-[Unknown]