Sxmo - Simple X Mobile Released for the Pinephone (new minimalistic UI & image)
#50
(05-29-2020, 01:50 PM)visiblink Wrote:
(05-29-2020, 01:23 PM)saba Wrote: static Key keys_symbols[40] = {
 
  

if you added more keys  you need to increment the 40 to 41  and then that last key will show

Thanks. I tried that previously and it didn't work. The total number of key spaces taken up equal 40, but I don't know if the number refers to the number of keys (regardless of how wide) or the number of key spaces.

I'll try editing both the number in line one and the one for the second keyboard and see what happens. Perplexing.

you have to count the keys plus the { 0 } at the beginning of each new row.  In your first layer you have a total of 38, so everything is displayed.  On your second layer it is 41, so the last key didn't show

edit: change the 40 in the first line of the file too,


Messages In This Thread
RE: Sxmo - Simple X Mobile Released for the Pinephone (new minimalistic UI & image) - by saba - 05-29-2020, 01:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PostmarketOS sxmo pinephone keyboard keymaps? afwtioane 2 3,164 09-11-2022, 04:37 AM
Last Post: manubert
  sxmo pim nextcloud Uturn 8 8,504 02-22-2022, 03:23 PM
Last Post: TRS-80
  Battery life on sxmo xark 1 2,795 02-12-2022, 10:07 AM
Last Post: TRS-80
  Official Channels for Sxmo Support anjanmomi 2 4,040 02-12-2022, 09:50 AM
Last Post: TRS-80
  sxmo & php --- 2 2,565 01-31-2022, 01:45 PM
Last Post: ---
  sxmo improvements unrealb2 7 7,737 11-17-2021, 06:43 AM
Last Post: fdlamotte
  SXMO on Debian IVp 0 2,760 08-21-2021, 02:33 PM
Last Post: IVp
  Megi's multiboot sxmo image aithal 1 2,805 06-14-2021, 08:07 AM
Last Post: fdlamotte
  SXMO svkbd with joypad layout [for basic dosbox play] streak 0 1,910 05-27-2021, 08:47 AM
Last Post: streak
  Sxmo on Arch IVp 4 7,999 05-19-2021, 03:18 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)