lib/vigilem/win32_api/dom/input_record_utils.rb
# gets the l or r using other params than just the name
# @see    location_less_vks_map
# @todo   change name
# @param  [Symbol] vk_name
# @param  [Integer] v_scancode
# @param  [Symbol<#{location_less_vks_map.keys}>]
# @raise  [RuntimeError] when the location cannot be found
# @return [String<'l'|'r'>]
gets the l or r using other params than just the name
gets the l or r using other params than just the name
def lr_not_in_name!(vk_name, v_scancode, b_key_down, dw_state_names)
      if lr = lr_not_in_name(vk_name, v_scancode, b_key_down, dw_state_names)
        lr
      else
        raise RuntimeError, "Cannot get location from #{vk_name}, #{v_scancode}, #{b_key_down}, #{current_keys}, #{dw_state_names}"
      end
    end
def lr_not_in_name! ( vk_name , v_scancode , b_key_down , dw_state_names ) if lr = lr_not_in_name ( vk_name , v_scancode , b_key_down , dw_state_names ) lr else raise RuntimeError , "Cannot get location from #{vk_name}, #{v_scancode}, #{b_key_down}, #{current_keys}, #{dw_state_names}" end end
gets the l or r using other params than just the name
gets the l or r using other params than just the name
None
String<'l'|'r'>
[RuntimeError] when the location cannot be found
[ RuntimeError ] when the location cannot be found
vk_name
v_scancode
b_key_down
dw_state_names
None
None
see
None
todo
None