X-Git-Url: http://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/43b7092bd42d639a527b32dae4af87e37528ef57..310f11731c14dfb080de5a5086da848cc6a0879f:/project/cmd_tbl.h diff --git a/project/cmd_tbl.h b/project/cmd_tbl.h index a933817..a775021 100644 --- a/project/cmd_tbl.h +++ b/project/cmd_tbl.h @@ -48,6 +48,7 @@ // Function prototypes for the command table void cmd_help(uint8_t argc, char **argv); // handled by core/cmd/cmd.c void cmd_sysinfo(uint8_t argc, char **argv); +void cmd_reset(uint8_t argc, char **argv); #ifdef CFG_TFTLCD void cmd_backlight(uint8_t argc, char **argv); @@ -60,11 +61,12 @@ void cmd_rectangleround(uint8_t argc, char **argv); void cmd_pixel(uint8_t argc, char **argv); void cmd_progress(uint8_t argc, char **argv); void cmd_getpixel(uint8_t argc, char **argv); -void cmd_gettext(uint8_t argc, char **argv); void cmd_calibrate(uint8_t argc, char **argv); void cmd_orientation(uint8_t argc, char **argv); +void cmd_roundedcorner(uint8_t argc, char **argv); void cmd_text(uint8_t argc, char **argv); void cmd_textw(uint8_t argc, char **argv); +void cmd_triangle(uint8_t argc, char **argv); void cmd_tsthreshhold(uint8_t argc, char **argv); void cmd_tswait(uint8_t argc, char **argv); #ifdef CFG_SDCARD @@ -107,6 +109,7 @@ cmd_t cmd_tbl[] = // command name, min args, max args, hidden, function name, command description, syntax { "?", 0, 0, 0, cmd_help , "Help" , CMD_NOPARAMS }, { "V", 0, 0, 0, cmd_sysinfo , "System Info" , CMD_NOPARAMS }, + { "Z", 0, 0, 0, cmd_reset , "Reset" , CMD_NOPARAMS }, #ifdef CFG_I2CEEPROM { "e", 1, 1, 0, cmd_i2ceeprom_read , "EEPROM Read" , "'e '" }, @@ -125,6 +128,7 @@ cmd_t cmd_tbl[] = { "g", 2, 2, 0, cmd_getpixel , "Get Pixel" , "'g '" }, { "l", 5, 7, 0, cmd_line , "Line" , "'l [ ]'" }, { "L", 1, 1, 0, cmd_backlight , "Backlight" , "'L <0|1>'" }, + { "n", 5, 5, 0, cmd_roundedcorner , "Rounded Corner" , "'n '" }, { "o", 0, 1, 0, cmd_orientation , "LCD Orientation" , "'o [<0|1>]'" }, { "p", 3, 3, 0, cmd_pixel , "Draw Pixel" , "'p '" }, { "P", 9, 9, 0, cmd_progress , "Progress Bar" , "'P <%> '" }, @@ -132,7 +136,7 @@ cmd_t cmd_tbl[] = { "R", 7, 7, 0, cmd_rectangleround , "Rounded Rectangle" , "'R '" }, { "s", 2, 99, 0, cmd_textw , "Text Width" , "'s '" }, { "t", 5, 99, 0, cmd_text , "Text" , "'t '" }, - { "T", 0, 0, 0, cmd_gettext , "Text Dialogue" , CMD_NOPARAMS }, + { "v", 7, 8, 0, cmd_triangle , "Triangle" , "'v []'" }, { "W", 0, 1, 0, cmd_tswait , "Wait for Touch" , "'W []'" }, { "x", 0, 1, 0, cmd_tsthreshhold , "Touch Threshold" , "'x [<0..254>]'" }, #endif