Jump to content

Duckberry Pi - UK Keyboard?


watsee
 Share

Recommended Posts

Hi all,

 

Have been experimenting with Duckberry Pi on my new Pi Zero & I'm having a few issues. I was wondering if anyone could advise. 

Essentially, the scripts are running using a US keyboard layout - even though the correct symbols etc are in the script. I'm a UK user, so @ is appearing as " and \ is appearing as # for example.

 

Is there anywhere I can define the keyboard layout? As the Duckberry Pi uses raw duckyscript without being encoded, I cannot use the encoder.jar to run the script due to the method of encoding.

 

Appreciate any guidance!

Link to comment
Share on other sites

I have been using the same thing but in the us.  can you change the keyboard layout on the OS itself by ssh or connecting monitor and keyboard to change. Just an Idea

Link to comment
Share on other sites

I tried booting with a monitor and keyboard attached however nothing appeared on the screen, due to the lack of ethernet port I was unable to connect to my LAN (I have not got a USB WLAN dongle). It appeared that it didn't boot into a typical OS. I will keep trying. 

Link to comment
Share on other sites

  • 4 weeks later...

WATSEE: As for the keyboard layout issue (US/UK) - I think the easiest way would be to alter the bash script to pickup a locale identifier (eg. 'MAP UK' or 'MAP US') and translate the 6-8 character differences between the two keyboard types.  I had to do the same with other Arduino 'Ducky' projects I worked on. If I get time in the next few days, I'll do that and post it back here.

 

Edit: Looks like you'd maybe better trying something like 'setxkbmap gb' as you'd need to change both the duckpi.sh and the C file. (I wonder why the originators wrote it that way - seems a bit limited.)

Edited by basic4
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...