The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Text::Livedoor::Wiki::Plugin::Function::Pad - Game Pad Function Plugin

DESCRIPTION

displays game pad

SYNOPSIS

 &pad(ps3){sankaku,shikaku}
 &pad(ps3){sankaku,and,shikaku,plus,here goes some text}

FUNCTION

prepare_args

determine the pad type. to add more pad types, add the pad name to the script below $pad_type =~ /^(ps3)$/i; such as $pad_type =~ /^(ps3|Xbox|nintendo)/i; and create functions _Xbox and _nintendo to deal with game pad oriented buttons.

process

parses the text into html.

_ps3

generates buttons that are only used by ps3 pad.

_general_action

generates actions that are commonly used by many game pads including "push hard", "push repeatedly", "push longer" and so on...

img_base

set the location of directory for images general images are stored under storage_dir_name/images/function/pad/ and images for specific game pads arestored under storage_dir_name/images/function/pad/ps3/

THANKS

thank clouder for giving us this great plugin idea!

SEE ALSO

AUTHOR

oklahomer