Grid Sage Forums

Grid Sage Forums

  • November 23, 2024, 09:31:19 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: [Beta 13] No way to rebind examine direction keys  (Read 1621 times)

flatmap

  • Unaware
  • *
  • Posts: 2
    • View Profile
[Beta 13] No way to rebind examine direction keys
« on: April 01, 2024, 05:45:29 PM »

I'm trying to remap Vi's HJKL keys to IJKL.
It works for moves (CMD_BS_DEFAULT_MAPJUMP_N and others), but I don't see mappings for move directions during examination.
Remapping normal moves does not affect examination move keys.
I guess it is hardcoded?
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: [Beta 13] No way to rebind examine direction keys
« Reply #1 on: April 01, 2024, 10:38:57 PM »

It's not hard-coded, they're all in there. You can find the examine mode cursor-moving keys in the targeting domain (since it's used for both targeting and examination), thus CMD_BS_TARGETING_SHIFT_N and so on. You can see there are already vi-keys assigned there, but you're switching to a different layout so yeah you can adjust those.

Note: CMD_BS_DEFAULT_MAPJUMP_N is actually for shifting the map view (like recentering it to see a different area), not movement. Movement is CMD_BS_DEFAULT_MOVE_N etc.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

flatmap

  • Unaware
  • *
  • Posts: 2
    • View Profile
Re: [Beta 13] No way to rebind examine direction keys
« Reply #2 on: April 02, 2024, 07:00:51 AM »

You're right. Sorry, I was querying commands.cfg by HJKL and "examine" word.
Thanks!
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: [Beta 13] No way to rebind examine direction keys
« Reply #3 on: April 02, 2024, 08:42:39 AM »

No problem! Makes sense, wouldn't necessarily assume that examining and targeting are basically the same command set :)
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon