mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-02 04:48:22 +00:00
Added dpad icons and added them to raw inputs
This commit is contained in:
parent
663af6a90d
commit
675acafc42
3 changed files with 17 additions and 0 deletions
Binary file not shown.
|
@ -230,6 +230,18 @@ impl InputLog {
|
|||
if buttons.minus() {
|
||||
icons.push_front(("minus", WHITE));
|
||||
}
|
||||
if buttons.dpad_up() {
|
||||
icons.push_front(("dpad_up", WHITE));
|
||||
}
|
||||
if buttons.dpad_down() {
|
||||
icons.push_front(("dpad_down", WHITE));
|
||||
}
|
||||
if buttons.dpad_left() {
|
||||
icons.push_front(("dpad_left", WHITE));
|
||||
}
|
||||
if buttons.dpad_right() {
|
||||
icons.push_front(("dpad_right", WHITE));
|
||||
}
|
||||
|
||||
icons
|
||||
}
|
||||
|
|
|
@ -120,6 +120,11 @@ unsafe fn draw_log(root_pane: &Pane, log_idx: usize, log: &InputLog) {
|
|||
"l_stick",
|
||||
"r_stick",
|
||||
"gcc_c_stick",
|
||||
"dpad_up",
|
||||
"dpad_down",
|
||||
"dpad_left",
|
||||
"dpad_right",
|
||||
"dpad_left_right"
|
||||
];
|
||||
|
||||
for idx in 0..NUM_ICON_SLOTS {
|
||||
|
|
Loading…
Add table
Reference in a new issue