/etc/acpi/events/asus-rotate is in acpi-support 0.140.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | # /etc/acpi/events/asus-rotate
# This is called when the user rotates the screen to/from tablet mode, or
# when "rotate screen" button is pressed.
event=hotkey (ATKD|HOTK) 0000009b
action=/etc/acpi/rotatescreen.sh
|