Here's SVG code for an Xbox 360 controller:
<svg width="400" height="280" viewBox="0 0 400 280" xmlns="http://www.w3.org/2000/svg">
<!-- Controller Body -->
<path d="M 100 120
C 100 80, 50 60, 50 100
L 40 180
C 40 220, 80 240, 120 220
L 150 200
L 200 195
L 250 200
L 280 220
C 320 240, 360 220, 360 180
L 350 100
C 350 60, 300 80, 300 120
L 280 140
L 200 145
L 120 140
Z"
fill="#f0f0f0"
stroke="#333"
stroke-width="3"/>
<!-- Left Analog Stick -->
<circle cx="130" cy="100" r="25" fill="#333" stroke="#222" stroke-width="2"/>
<circle cx="130" cy="100" r="15" fill="#666"/>
<!-- D-Pad -->
<g transform="translate(100, 140)">
<rect x="-5" y="-20" width="10" height="40" fill="#333" rx="2"/>
<rect x="-20" y="-5" width="40" height="10" fill="#333" rx="2"/>
</g>
<!-- Right Analog Stick -->
<circle cx="240" cy="140" r="25" fill="#333" stroke="#222" stroke-width="2"/>
<circle cx="240" cy="140" r="15" fill="#666"/>
<!-- ABXY Buttons -->
<g transform="translate(280, 100)">
<!-- Y button (top) -->
<circle cx="0" cy="-20" r="12" fill="#FFD700" stroke="#333" stroke-width="2"/>
<text x="0" y="-15" text-anchor="middle" font-family="Arial" font-size="14" font-weight="bold" fill="#333">Y</text>
<!-- B button (right) -->
<circle cx="20" cy="0" r="12" fill="#FF0000" stroke="#333" stroke-width="2"/>
<text x="20" y="5" text-anchor="middle" font-family="Arial" font-size="14" font-weight="bold" fill="#fff">B</text>
<!-- A button (bottom) -->
<circle cx="0" cy="20" r="12" fill="#00FF00" stroke="#333" stroke-width="2"/>
<text x="0" y="25" text-anchor="middle" font-family="Arial" font-size="14" font-weight="bold" fill="#333">A</text>
<!-- X button (left) -->
<circle cx="-20" cy="0" r="12" fill="#0080FF" stroke="#333" stroke-width="2"/>
<text x="-20" y="5" text-anchor="middle" font-family="Arial" font-size="14" font-weight="bold" fill="#fff">X</text>
</g>
<!-- Center Xbox Guide Button -->
<circle cx="200" cy="120" r="18" fill="#8BC34A" stroke="#333" stroke-width="2"/>
<text x="200" y="125" text-anchor="middle" font-family="Arial" font-size="20" font-weight="bold" fill="#fff">X</text>
<!-- Start and Back buttons -->
<ellipse cx="170" cy="120" rx="12" ry="8" fill="#666" stroke="#333" stroke-width="1"/>
<ellipse cx="230" cy="120" rx="12" ry="8" fill="#666" stroke="#333" stroke-width="1"/>
<!-- Shoulder Buttons (simplified view) -->
<rect x="80" y="50" width="50" height="15" fill="#888" stroke="#333" stroke-width="2" rx="7"/>
<rect x="270" y="50" width="50" height="15" fill="#888" stroke="#333" stroke-width="2" rx="7"/>
<!-- Shoulder Triggers -->
<rect x="90" y="35" width="30" height="12" fill="#666" stroke="#333" stroke-width="2" rx="6"/>
<rect x="280" y="35" width="30" height="12" fill="#666" stroke="#333" stroke-width="2" rx="6"/>
</svg>
This SVG creates a simplified representation of an Xbox 360 controller with:
- The characteristic body shape with curved grips
- Left analog stick and D-pad
- Right analog stick and ABXY buttons (with their traditional colors)
- Xbox Guide button in the center (green with X)
- Start and Back buttons
- Shoulder buttons and triggers
You can adjust the colors, sizes, and positions to better match your needs or add more details like textures, shadows, or additional markings.