Sure, here's an example of an HTML file that implements a simple game where you can rotate a 3D model of a PS4 controller and interact with its buttons. The background of the game is a living room.
To use this code, you will need to create two files: `living_room.jpg` and `ps4_controller.gltf`. The `living_room.jpg` should be an image of a living room that will be used as the background. The `ps4_controller.gltf` should be a 3D model of a PS4 controller.
This code sets up a three.js scene with a living room background and a rotating PS4 controller model. You can interact with the scene by rotating the controller using the mouse or touch controls on a smartphone.