gamepad viewer: drawn border for the stick zones#10102
gamepad viewer: drawn border for the stick zones#10102mockersf wants to merge 1 commit intobevyengine:mainfrom
Conversation
|
Nice catch. I like the idea of a border, but the original intention wasn't to have a border, just to visualize the full extents vs. the edge of the livezone. I think that maybe we could change the edit: with this change set, the end of the livezone and the border are the same color, so it it difficult to tell how it is configured. |
|
My comment above is no longer accurate after the recent default clear color change. The edge of the live zone can now be distinguished from the gamepad bounds. It's still my opinion that there's not actually a bug to fix here with regard to the lack of a "border." The colors in the example could use some tweaking after that change though. |
# Objective Since #10339, the contrast in this example has been very low. While I was in there, I made a few other tweaks to the style. Alternative to #10102. ## Solution - Increase brightness of inactive buttons for higher contrast on the new clear color - Combine `DEAD_COLOR` and `EXTENT_COLOR`. These were using the same value, and combining them might make the intent a little clearer. (This is the single color for "not the live zone.") - Make the "stick buttons" slightly smaller, so it's a bit more obvious that they are sitting inside of the default dead zone. - Remove explicit text color -- it was the same as the default - Add top-left margin to the text in the top left, and change the font size to better match other examples with text in the corner. ## Screenshots <details> <summary>With Bevy's default dead / live zones.</summary> Before / After  </details> <details> <summary>With Bevy's old dead / live zones. (with the upper live zone boundary != 1.0)</summary> Before / After  </details>
Objective
AxisSettingslivezone default #10090, there are no border for stick zones in the gamepad viewerSolution