This version is outdated by a newer approved version.DiffThis version (2020/03/21 14:53) is a draft.
Approvals: 0/1

This is an old revision of the document!


BATOCERA Code Snippets

Symbol Code Note
{{:switch-button.png?20|}} A integer value of 20 is ideal for a fluent text structure
{{:switch-slider.png?30|}} A integer value of 30 is ideal for a fluent text structure
{{::switch-multioption.png?20|}} A integer value of 20 is ideal for a fluent text structure
{{:switch-az.png?20|}} A integer value of 20 is ideal for a fluent text structure

Code can be displayed by using the <code>print (“Hello World”)</code>-Tags but it will lead to a an ugly grey box. So for some one liners you can try to use

<nowiki>print ("Hello World")</nowiki>

Icons can be created and distrubuted for free with: https://logomakr.com/

<csv file=https://docs.google.com/spreadsheets/URL/pub?output=csv>
</csv>

To link to a Google spreadsheet:

  1. Open your spreadsheet in Google Docs.
  2. Click the “Share” botton in the toolbar, and choose “Anyone with the link” for Visibility.
  3. Open your spreadsheet in Google Docs.
  4. From the spreadsheet menu select: File | Publish as a Web Page
  5. Sheets to Publish: “All Sheets”, and check the box “Automatically republish when changes are made” to ensure your data is auto updated.
  6. Click “Start Publishing”. This will activate the options in the box “Get a link to the published data”, below.
  7. Change the export type from “Web Page” to “CSV (comma-separated values)”.
  8. Change “All sheets” to “Sheet1” (or select the sheet you want to export)
  9. Change “All Cells” to the specific range you want to export, beginning with the header row. Use Excel-style notation, like A1:C6 for the first 3 columns and the first 6 rows.
  10. Click “Republish now”
  11. Copy the link (check it ends with output=csv) and paste it into your dokuwiki CSV table using the file= attribute described above.

Items to check!

0000000058626f782047616d65706100Xbox Gamepad (userspace driver)
03000000790000000600000010010000DragonRise Inc. Generic USB Joystick
0000000058626f782047616d65706100Xbox Gamepad (userspace driver)
050000007e050000060300001c3a0000Nintendo Wii Remote
050000007e050000060300001c3a0000Nintendo Wii Remote Classic Controller
03000000010000000100000004000000Xarcade-to-Gamepad Device 1
03000000010000000100000004000000Xarcade-to-Gamepad Device 2
030000004c0500006802000011810000USB Downlo01.80 PS3/USB Corded Gamepad
030000004c0500006802000011810000Gasia Co.,Ltd PS(R) Gamepad
030000004c0500006802000011810000SZMY-POWER CO.,LTD. PLAYSTATION(R)3 Controller
05000000102800000900000000010000Bluetooth Wireless Controller
05000000102800000900000000010000Bluetooth Wireless Controller
050000005e040000e0020000030900008Bitdo SF30 Pro
050000005e040000e0020000030900008BitDo SN30 Pro+
050000005e040000e0020000030900008BitDo Lite gamepad
03000000790000000600000010010000Microntek USB Joystick
  • batocera_wiki_code_snippets.1584798790.txt.gz
  • Last modified: 4 years ago
  • by lala