Razer G-Series Lua API V8.45 Overview and Reference

This manual provides an overview and reference for the G-Series Lua API, detailing functions and event handlers for scripting on Razer gaming keyboards.


Razer G-Series Lua API V8.45 Overview and Reference - cover page
Brand
Razer
Category
Other Electronics
Document type
Programming Manual
Language
English
Pages
44
File format
PDF
File size
584 KB
Published
12 October, 2026
Updated
12 October, 2026
MD5 checksum
99B22EFDDC5F7EAB8C89BF5B08C90C9D

About this manual

The G-Series Lua API is a set of functions using the Lua programming language that provides advanced scripting functionality for the G-Series line of gaming keyboards. This document assumes a working knowledge of the Lua programming language and directs users to www.lua.org for further information. Every G-Series Profile has a default Lua script bound to it which can be edited and customized.

What's inside

  • Overview
  • Reference Functions
  • OnEvent
  • GetMKeyState
  • SetMKeyState
  • Sleep
  • OutputLogMessage
  • Standard Lua 5.1 Libraries
  • Appendix A
  • Scancodes and Keynames

Frequently asked questions

What is the G-series Lua API used for?

It provides advanced scripting functionality for the G-series line of gaming keyboards.

How long does the script wait to finish after deactivation?

The system waits 1 second for the script to finish before forcefully aborting it.

Download PDF (584 KB)

More Razer Manuals


View all Razer manuals →