Kicad-to-HAL: LoadUsr

The Kicad LOADUSR symbol puts its text directly into a HAL loadusr command:

Kicad symbol - LOADUSR
Kicad symbol – LOADUSR

Putting the same text in the LoadUsr field of a Kicad component may be tidier when there’s only one:

Kicad Symbol Properties - Logitech gamepad
Kicad Symbol Properties – Logitech gamepad

The gamepad symbol in a schematic:

Kicad-to-HAL Demo Schematic
Kicad-to-HAL Demo Schematic

Which produces this loadusr command in the HAL file:

loadusr -W hal_input -KA Dual		# input.0.0

You can edit the text after placing the Kicad component, so the symbol can contain placeholder text.

One thought on “Kicad-to-HAL: LoadUsr

Spam comments get trashed, so don't bother. Comment moderation may cause a delay.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s