params: add missing bottom-center layout

pull/1022/head
Alessandro Toia 1 year ago
parent 7b5c0a43c6
commit e77585d848

@ -364,7 +364,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu
| `pci_dev` | Select GPU device in multi-gpu setups |
| `permit_upload` | Allow uploading of logs to Flightlessmango.com |
| `picmip` | Mip-map LoD bias. Negative values will increase texture sharpness (and aliasing). Positive values will increase texture blurriness `-16`-`16` |
| `position=` | Location of the HUD: `top-left` (default), `top-right`, `middle-left`, `middle-right`, `bottom-left`, `bottom-right`, `top-center`, `bottom_center` |
| `position=` | Location of the HUD: `top-left` (default), `top-right`, `middle-left`, `middle-right`, `bottom-left`, `bottom-right`, `top-center`, `bottom-center` |
| `procmem`<br>`procmem_shared`, `procmem_virt`| Displays process' memory usage: resident, shared and/or virtual. `procmem` (resident) also toggles others off if disabled |
| `ram`<br>`vram` | Display system RAM/VRAM usage |
| `read_cfg` | Add to MANGOHUD_CONFIG as first parameter to also load config file. Otherwise only `MANGOHUD_CONFIG` parameters are used |

@ -88,6 +88,8 @@ parse_position(const char *str)
return LAYER_POSITION_BOTTOM_RIGHT;
if (!strcmp(str, "top-center"))
return LAYER_POSITION_TOP_CENTER;
if (!strcmp(str, "bottom-center"))
return LAYER_POSITION_BOTTOM_CENTER;
return LAYER_POSITION_TOP_LEFT;
}

Loading…
Cancel
Save