Skip to content

Instantly share code, notes, and snippets.

@CrazyCoder
Created November 16, 2022 17:32
Show Gist options
  • Save CrazyCoder/fdf7108afc592c0f41afc75a8303c86f to your computer and use it in GitHub Desktop.
Save CrazyCoder/fdf7108afc592c0f41afc75a8303c86f to your computer and use it in GitHub Desktop.
local logger = require("logger")
local Device = require("device")
Device.input.rotation_map = nil
logger.info("Hardware button rotation disabled by user patch")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment