mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-09 12:01:45 +00:00
nyx: report right stick coordinates in debug
- Add right stick x/y - Remove calibration x/y min/max
This commit is contained in:
parent
c4567ab2b5
commit
b744f82942
1 changed files with 3 additions and 4 deletions
|
@ -490,10 +490,9 @@ static bool _jc_virt_mouse_read(lv_indev_data_t *data)
|
||||||
gfx_con_getpos(&gfx_con.savedx, &gfx_con.savedy, &gfx_con.savedcol);
|
gfx_con_getpos(&gfx_con.savedx, &gfx_con.savedy, &gfx_con.savedcol);
|
||||||
gfx_con_setpos(32, 630, GFX_COL_AUTO);
|
gfx_con_setpos(32, 630, GFX_COL_AUTO);
|
||||||
gfx_con.fntsz = 8;
|
gfx_con.fntsz = 8;
|
||||||
gfx_printf("x: %4X, y: %4X | b: %06X | bt: %d %d | cx: %03X - %03X, cy: %03X - %03X",
|
gfx_printf("x: %4X, y: %4X | rx: %4X, ry: %4X | b: %06X | bt: %d %d",
|
||||||
jc_pad->lstick_x, jc_pad->lstick_y, jc_pad->buttons,
|
jc_pad->lstick_x, jc_pad->lstick_y, jc_pad->rstick_x, jc_pad->rstick_y,
|
||||||
jc_pad->batt_info_l, jc_pad->batt_info_r,
|
jc_pad->buttons, jc_pad->batt_info_l, jc_pad->batt_info_r);
|
||||||
jc_drv_ctx.cx_min, jc_drv_ctx.cx_max, jc_drv_ctx.cy_min, jc_drv_ctx.cy_max);
|
|
||||||
gfx_con_setpos(gfx_con.savedx, gfx_con.savedy, gfx_con.savedcol);
|
gfx_con_setpos(gfx_con.savedx, gfx_con.savedy, gfx_con.savedcol);
|
||||||
gfx_con.fntsz = 16;
|
gfx_con.fntsz = 16;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue