diff --git a/server/drivers/IOWarrior.c b/server/drivers/IOWarrior.c index e5b2356..a7e5222 100644 --- a/server/drivers/IOWarrior.c +++ b/server/drivers/IOWarrior.c @@ -800,9 +800,10 @@ IOWarrior_get_free_chars (Driver *drvthis) /********************************************************************* * API: Sets a custom character from 0 - (NUM_CCs-1) * - * The API only permit setting to off=0 and on<>0 - * For input is just an array of characters: - * values > 0 mean "on" and values <= 0 are "off". + * The input is an array of bytes, each representing a pixel row + * starting from the top to bottom. + * The bits in each byte represent the pixels where the LSB + * (least significant bit) is the rightmost pixel in each pixel row */ MODULE_EXPORT void IOWarrior_set_char(Driver *drvthis, int n, unsigned char *dat) diff --git a/server/drivers/IOWarrior.h b/server/drivers/IOWarrior.h index accbbe7..9e9207e 100644 --- a/server/drivers/IOWarrior.h +++ b/server/drivers/IOWarrior.h @@ -63,7 +63,8 @@ typedef enum { vbar, /* vertical bars */ hbar, /* horizontaln bars */ bignum, /* big numbers */ - bigchar /* big characters */ + bigchar, /* big characters */ + custom /* custom icons */ } CGmode;