Difference between revisions of "Shift status"

From Bennu Wiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 17:18, 27 October 2014


Up to Global Variables


Definition

INT shift_status

Shift_status is defined in the module mod_key and indicates whether a modifier key is being pressed. If more than a modifier key is pressed at the same time shift_status will return the sum.

List

Key - Value
Right Control - 20 *
Left Control - 36
Right Alt - 72 *
Left Alt - 136
NUM LOCK - 256
CAPS LOCK - 512
Right Shift - 1025
Left Shift - 1026
* At the time of the writing of this article, right alt and right control didn't return anything. It is unknown whether it is a bug or just deprecated.


Global variables
ArgcArgvAsciiCdinfoDump_typeExit_statusFadingFileinfoFocus_statusFpsFrame_timeFull_screenGraph_modeM7MouseMouse_statusOs_idRegex_regRestore_typeScale_modeScale_resolutionScale_resolution_aspectratioScale_resolution_orientationScan_codeScrollShift_statusSound_channelsSound_freqSound_modeText_flagsText_zTimerWindow_status