🟥3.7.0.0

A list of changes for this release are provided below.

This release requires rlib to be updated to v4.0.0.0

The new version completely re-writes a lot of how the system worked, as well as removes a crap ton of no longer needed things and puts the library into a "minified" version. It also includes some optimizations that will definitely show a benefit when loading resource heavy scripts such as XTask and Arivia v3.

▸ Overview

▸ Detailed Changes

▸ Added Ability to Support Various Layouts

There is now a specialized button located at the bottom right of the keyboard which allows a player to change keyboard layouts.

▸ New Keyboard Layout AZERTY

AZERTY is a specific layout for the characters of the Latin alphabet on computer keyboards. The layout takes its name from the first six letters to appear on the first row of alphabetical keys; that is, (A Z E R T Y). Similar to the QWERTZ layout, it is modeled on the English QWERTY layout. It is used in France and Belgium.

▸ New Keyboard Layout QWERTZ

The QWERTZ or QWERTZU keyboard is a keyboard layout widely used in Central Europe. The name comes from the first six letters at the top left of the keyboard: (Q W E R T Z).

▸ Added Right-Click Menu to Copy Binds

Each button has gained a right-click function which makes a menu open. The menu contains certain actions for binding keys to particular actions.

Unfortunately, Garry's Mod / Facepunch has blocked the ability to force players to execute certain console commands such as the bind command.

Instead, this menu will copy the proper command you need to your clipboard and then will automatically open your player console so that you can paste the command.

Right click on the key you wish to assign, and then select which feature you want to bind. Once the command is copied to your clipboard, simply CTRL + V (paste) in your console and press ENTER.

Only special actions are on this menu since the other actions such as running, jumping, etc; can be re-bound by simply opening your Garry's Mod Keybind Menu. You can access this by clicking the cog icon in the top left corner.

▸ Added Key Family Grouping

Grouping keys allows multiple keys to be activated at the same time. On the new QWERTZ and AZERTY layouts; the ENTER key is theoretically two keys. With the family grouping feature, this can give the keys the appearance of being one complete key instead of two. This allows for hovering both keys at the same time.

cfg.azerty.keys.row.three =
{
    { enabled = true, width = 62, lbl = '..' },
    { enabled = true, width = 62, lbl = '£', sub = '$', alt = '¤' },
    { enabled = true, width = 14, fam = 'key_enter', lbl = '' },
    { enabled = true, width = 60, fam = 'key_enter', lbl = 'ENTER' },ua
}

▸ Added Auto Detection of Gmod Binds

Keys bound to particular actions in Garry's Mod will automatically display on the keyboard.

The following actions have been added for auto-detection:

▸ New Rules Interface

The rules interface has been updated with a new scrollbar with a little bounce. A small but nice change.

▸ Resized Key Button Sizes

Increased the size of keyboard keys

Header, footer, and icons now have screen scaling

▸ Key Function Name Changes

Due to confusion, a few function names in configuration file have been changed.

OLD

{
    key         = 'F12',
    desc        = 'act_steam_screenshot',
    clr         = Color( 54, 145, 72 ),
    condition   = function( )
                    return true
                end,
    execute     = function( )
                    rcc.run.gmod( 'screenshot' )
                end
},

NEW

{
    key         = 'F12',
    desc        = 'act_steam_screenshot',
    clr         = Color( 54, 145, 72 ),
    enabled   = function( )
                    return true
                end,
    onClick     = function( )
                    rcc.run.gmod( 'screenshot' )
                end
},

If adding new keys to the cfg.qwerty.keys.binds, you MUST make sure the function enabled returns true if you want the key to show.

▸ Updated Web and Rules Interface

Updated the web and rules interfaces. Now has screen-scaling and an updated interface appearance.

▸ Removed sh_cfg_rules, Moved to sh_cfg.nav

Having both a nav file and a rules config file were too confusing.

cfg/sh_cfg_rules.lua has been removed, and the configs have been moved to:

cfg/sh_cfg_03_nav.lua

The integrated web setting has also been moved to the area with the other rule settings:

cfg.nav.btn.rules_url	            = 'https://pirithous.rlib.io/internal/rules'
cfg.nav.btn.rules_openIngame        = false
cfg.nav.btn.rules_textonly          = true

▸ Fixed bug that incorrectly assigns actions to keys

Some customers reported issues with certain keys not properly assigning actions. This issue has been fixed.

▸ Fixed unregistered hook pirithous_fonts_register

When opening the main interface, the fonts were not reloading and causing confusion with customers attempting to modify the font sizes.

Fonts now automatically reload when the player opens the interface after closing it.

Last updated