mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 22:15:33 +02:00
Update mkxp.conf dataPathOrg/dataPathApp description
This commit is contained in:
parent
80ed33d9d7
commit
f86919091a
3 changed files with 5 additions and 7 deletions
|
@ -112,8 +112,6 @@ mkxp-z provides limited support for some WinAPI functions that would normally br
|
||||||
|
|
||||||
## Nonstandard RGSS extensions
|
## Nonstandard RGSS extensions
|
||||||
|
|
||||||
To smooth over cross-platform compatibility, functionality that you won't find in the RGSS spec has been added. Currently this amounts to the following:
|
|
||||||
|
|
||||||
### Input
|
### Input
|
||||||
|
|
||||||
* The `Input.press?` family of functions accepts three additional button constants: `::MOUSELEFT`, `::MOUSEMIDDLE` and `::MOUSERIGHT` for the respective mouse buttons. It will now also accept [SDL scancodes](https://wiki.libsdl.org/SDL_Scancode?highlight=%28%5CbCategoryEnum%5Cb%29%7C%28CategoryKeyboard%29) in the form of symbols corresponding to each scancode (e.g. `SDL_SCANCODE_RETURN` would be requested through `Input.press?/trigger?/repeat? :RETURN`)
|
* The `Input.press?` family of functions accepts three additional button constants: `::MOUSELEFT`, `::MOUSEMIDDLE` and `::MOUSERIGHT` for the respective mouse buttons. It will now also accept [SDL scancodes](https://wiki.libsdl.org/SDL_Scancode?highlight=%28%5CbCategoryEnum%5Cb%29%7C%28CategoryKeyboard%29) in the form of symbols corresponding to each scancode (e.g. `SDL_SCANCODE_RETURN` would be requested through `Input.press?/trigger?/repeat? :RETURN`)
|
||||||
|
|
|
@ -70,7 +70,7 @@ static int getButtonArg(VALUE *argv)
|
||||||
|
|
||||||
static int getScancodeArg(VALUE *argv)
|
static int getScancodeArg(VALUE *argv)
|
||||||
{
|
{
|
||||||
const char *scancode = rb_id2name(SYM2ID(argv));
|
const char *scancode = rb_id2name(SYM2ID(*argv));
|
||||||
int code{};
|
int code{};
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -180,10 +180,10 @@
|
||||||
# Organisation / company and application / game
|
# Organisation / company and application / game
|
||||||
# name to build the directory path where mkxp
|
# name to build the directory path where mkxp
|
||||||
# will store game specific data (eg. key bindings).
|
# will store game specific data (eg. key bindings).
|
||||||
# If not specified, mkxp will save to a common
|
# If not specified, mkxp will choose the game's name
|
||||||
# directory shared by all games. Note that these
|
# as set in its ini. Note that these are TWO individual
|
||||||
# are TWO individual config entries, and both need
|
# config entries, and both need to be defined for this
|
||||||
# to be defined for this to take effect.
|
# to take effect.
|
||||||
# (default: none)
|
# (default: none)
|
||||||
#
|
#
|
||||||
# dataPathOrg=mycompany
|
# dataPathOrg=mycompany
|
||||||
|
|
Loading…
Add table
Reference in a new issue