He has a hinged device up the back of his left leg and op to his butt that attaches to a platform under the rug. The hinges lock so that they only bend so far. Thus, he “sits down” on the arm after it won’t hinge any further.
Actually in one shot you can see the brace through his jeans. The shoe also appears fused to the rug.