PDA

View Full Version : Psprint lua edition (with trainer wip)



wraggster
January 23rd, 2006, 19:28
Arwin (http://forums.ps2dev.org/viewtopic.php?t=4626) has ported his Keyboard app Psprint to Lua, heres the info:

<blockquote>I have now completed porting p-sprint to lua (see http://forums.ps2dev.org/viewtopic.php?t=2913 for more info on the c version of p-sprint )

This contains the following files:
http://www.niwra.nl/psp/p-sprint-lua/psprint.lc
http://www.niwra.nl/psp/p-sprint-lua/index.lua

The psprint.lc is a lua include file for easy use.

The index.lua is an example of how to use the include file to read p-sprint like text input.

(It's my first lua program and (thus obviously) the first time I made an include file - things may therefore look very messy, but at least it works; input is appreciated;) )

I will post my process here as I did in my p-sprint thread, and input is more than welcome.

Done:
- keychars
- keycodes
- keynames
- keygroups
- modifiers
- key repeat
- make into lua include

Still to do:
- trainer
- the wrapper functions for readex (e.g. the blocking calls like getChar)
- allow user-configuration of keymaps (all six available ones)</blockquote>

Downlaod and screenshot via the Comments.